i need to be notified when a service stops on a host. does anyone have a linux plugin that allows you to set a critical threshold for a service that stops running? the 'check_services' plugin that comes with nrpe does not have this feature.
thanks in advance!
ben
check for running service
Re: check for running service
You should be able to use check_init_service, which I believe is bundled with NRPE by default - otherwise there are versions if it floating around online. You will probably need to add a sudoers entry for the user that is executing your NRPE checks.
Former Nagios Employee
Re: check for running service
Just checking in since we have not heard from you in a while. Did @rkennedy's post clear things up or has the issue otherwise been resolved?
Former Nagios employee
-
- Posts: 4
- Joined: Thu Feb 02, 2017 12:37 pm
Re: check for running service
Yes, check_init was exactly what I needed. Thanks!
Re: check for running service
Great to hear! I'll be closing this thread now, but feel free to open another if you need anything in the future.
Former Nagios employee