Re: Connection Timeout/Refused State
Posted: Mon Aug 06, 2012 2:16 pm
Hi Fred -
Are you still getting alerts for services on a host when the host is DOWN? Nagios should be suppressing service notifications for hosts that are DOWN or UNREACHABLE.
Regarding checks, Nagios will still check services on a host that is DOWN or UNREACHABLE. The reason for this is that some services might be related to attributes/metrics related to the host, but that are not "on" the host. DNS name lookups are one example of services that might be associated with a host, but would still be in an OK state if the host went DOWN.
Currently there's not an easy way to prevent services from being checked when a host is DOWN. Some people have utilized service dependencies (referencing the Ping service as the service to use in the dependency) or external commands and event handlers to temporarily disable service checks when a host goes down, but they're not foolproof or easy to setup.
Are you still getting alerts for services on a host when the host is DOWN? Nagios should be suppressing service notifications for hosts that are DOWN or UNREACHABLE.
Regarding checks, Nagios will still check services on a host that is DOWN or UNREACHABLE. The reason for this is that some services might be related to attributes/metrics related to the host, but that are not "on" the host. DNS name lookups are one example of services that might be associated with a host, but would still be in an OK state if the host went DOWN.
Currently there's not an easy way to prevent services from being checked when a host is DOWN. Some people have utilized service dependencies (referencing the Ping service as the service to use in the dependency) or external commands and event handlers to temporarily disable service checks when a host goes down, but they're not foolproof or easy to setup.