Hi,
Is there any plugin which make nagios able to detect if a service (nginx, elasticsearch, postfix...) is currently running AND is doing his job? (so it hasn't crashed) ?
Currently, I use a separate bash script who take the http code of the service (with curl), and restart service if code output is wrong
Any ideas?
Edouard
Check if a specific service is doing his job (hasnt crashed)
Re: Check if a specific service is doing his job (hasnt cras
There are many scripts available on the Nagios Exchange that may do what you want them to. Here is an example script for nginx: http://exchange.nagios.org/directory/Pl ... pl/details.
You can find more by searching the exchange: http://exchange.nagios.org/.
Thanks, and let me know if that helps!
You can find more by searching the exchange: http://exchange.nagios.org/.
Thanks, and let me know if that helps!
Re: Check if a specific service is doing his job (hasnt cras
Hi,
Thanks, I finally managed to use the Nagios Haproxy Stats plugin to monitor services. (as the services states are already known by Haproxy, Nagios will only have to ask Haproxy and not to collect metrics itself)
Edouard
Thanks, I finally managed to use the Nagios Haproxy Stats plugin to monitor services. (as the services states are already known by Haproxy, Nagios will only have to ask Haproxy and not to collect metrics itself)
Edouard
Re: Check if a specific service is doing his job (hasnt cras
I'm glad you got that working - do you have any questions, or is this thread good to close?
Re: Check if a specific service is doing his job (hasnt cras
Hi
You can close it
Edouard
You can close it
Edouard