Basically this is an enhancement request to allow binding to multiple addresses for the “httpd port”.
This may be important for hosts having multiple IP addresses, such as cluster nodes where addresses may be added and be removed dynamically.
The manual page is not very much explicit about “use address”, so I looked it up in
p.y to find
httpdlist which allows a list of
httpdoptions. One of those is
However the implementation of
bindaddress simply sets a variable from the parameter, replacing any previous setting.
When specifying multiple
monit -t does not complain, but the httpd socket only binds to the last address given.
So there are two possible resolutions:
- Fix the grammar to allow only one bindaddress
- Fix the implementation to bind to all specified bind addresses
Note: Other options have a similar problem, like