Hi All ,
I`ve tried last few days to configure service dependencies on my Nagios…
But have not done it how it should work And honestly i dont know where i am wrong …
So basicly i want to configure nagios to check my host with ping, disk space information, http server availability , etc. And what i want is when there is not ping reply from the host, i want nagios to stop check on other services …
i got config file like this :
Servicedependency definition
define servicedependency{
host_name Live_gate
service_description Uptime Information
dependent_host_name Live_gate
dependent_service_description PING
execution_failure_criteria w,u
notification_failure_criteria o,c,w,u,p
}
Servicedependency definition
define servicedependency{
host_name Live_gate
service_description Disk Space Information C
dependent_host_name Live_gate
dependent_service_description PING
execution_failure_criteria w,u
notification_failure_criteria o,c,w,u,p
}
But when i am set a ipfw rule to deny icmp packets to the host , nagios send me notifications about PING - critical, and all other services with OK states…
is there any chance to send mi CRITICAL states for all services where there is no ping to the host ???
P.S. excuse me for my bad english
10x a lot