Page 1 of 1

How to monitor a localhost daemon on Nagios

Posted: Tue Jul 01, 2014 7:07 pm
by vincheesel
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

Re: How to monitor a localhost daemon on Nagios

Posted: Wed Jul 02, 2014 2:07 am
by Box293
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:

Code: Select all

/linux-nrpe-agent/subcomponents/extraplugins/plugins/check_init_service
And Bob's your uncle!