Using event handler in Nagios
Posted: Wed Aug 26, 2015 11:25 am
Hello Experts,
I have two servers (192.168.0.1 and 192.168.0.2) on which tomcat service runs tomcat service name is 'tomcat7'
At a time only 1 server has the service in start state.
I need Nagios to monitor both the services. As one service will always be stopped I dont want notification alerts to be recieved until the service is started on one server.
If the service stops on first server then I want Nagios to check if service is started on another server.
and if service is not started then I should get an alert
Is there any possible way to do this using event handler?
Please suggest
I have two servers (192.168.0.1 and 192.168.0.2) on which tomcat service runs tomcat service name is 'tomcat7'
At a time only 1 server has the service in start state.
I need Nagios to monitor both the services. As one service will always be stopped I dont want notification alerts to be recieved until the service is started on one server.
If the service stops on first server then I want Nagios to check if service is started on another server.
and if service is not started then I should get an alert
Is there any possible way to do this using event handler?
Please suggest