|
Question : Nagios: How to enable service notifications despite host not being pingable
|
|
Hi there,
I've got Nagios running and monitoring some servers. One of the monitored hosts is not pingable and I am monitoring an HTTP service running on that host. If the HTTP goes down Nagios will not send out any notifications (as it does with my other services and hosts) for that service, because it reports the associated host as down. As the host is not pingable it appears in the tactical overview as down too. How would I have to configure Nagios properly? (Running 1.1) Thanks.
|
Answer : Nagios: How to enable service notifications despite host not being pingable
|
|
Define a dummy service for SUCCESS
# Dummy SUCCESS command, used for host we no means of checking define command{ command_name SUCCESS command_line $USER1$/check_dummy 0 }
Then in your host definition, use
check_command SUCCESS
The host will then be presumed to be up, so the service will be checked.
|
|
|