"localhost" not recognized in rule
Issue #157
resolved
Under monit 5.11, the following test works:
if failed host localhost port 161 type udp then restart
Under monit 5.12, it generates a "Connection failed" in monit summary.
Changing it to:
if failed host 127.0.0.1 port 161 type udp then restart
works as expected.
/etc/hosts has standard declaration for 127.0.0.1 localhost.
Comments (5)
-
repo owner -
reporter - attached monit-5.11.txt
-
reporter - attached monit-5.12.txt
-
repo owner - changed status to resolved
fixed Issue
#157: Hostname based connection test for UDP service on dual-stack host (IPv4 and IPv6) may fail if the service listens on IPv4 only.fixed: The socket timeout was 1000x higher then requested.
→ <<cset a28d8c004948>>
-
repo owner - removed version
Removing version: 5.12 (automated comment)
- Log in to comment
Please can you run monit in verbose mode?:
1.) stop monit
2.) start it in debug mode:
monit -vI
3.) collect output and send it to us