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
Using event handler in Nagios
Re: Using event handler in Nagios
Hi yunushaikh,yunushaikh wrote: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
You could do this using a combination of event handlers and the negate plugin(this document is for XI, but the same ideas still apply for Core).
Former Nagios Employee.
me.
me.