Hi guys,
I have this light perl script running on the Nagios server which is running as a daemon - I was hoping to monitor the daemon via Nagios to ensure its always running.
Would the localhost scripts allow me to do this or does anyone know of any custom scripts that can do this?
I checked the Nagios-Exchange, unfortunately I couldn't find anything.
I wish to avoid installing NRPE-client on the Nagios Server (if this is even possible)
Any ideas?
Thanks all
How to monitor a localhost daemon on Nagios
-
vincheesel
- Posts: 30
- Joined: Fri Jan 11, 2013 5:33 am
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: How to monitor a localhost daemon on Nagios
There is a plugin called check_init_service that should do the trick.
Download this:
http://assets.nagios.com/downloads/nagi ... ent.tar.gz
Extract the file:
And Bob's your uncle!
Download this:
http://assets.nagios.com/downloads/nagi ... ent.tar.gz
Extract the file:
Code: Select all
/linux-nrpe-agent/subcomponents/extraplugins/plugins/check_init_serviceAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.