Check if a specific service is doing his job (hasnt crashed)
Posted: Mon Apr 13, 2015 9:59 am
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
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