How to monitor a localhost daemon on Nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vincheesel
Posts: 30
Joined: Fri Jan 11, 2013 5:33 am

How to monitor a localhost daemon on Nagios

Post 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
User avatar
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

Post 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!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked