How to detect multiple nagios daemons (with plugins)?

hi folks,

i need your help/advice :slight_smile:
how is it possible to detect if there are multiple
nagios daemons running?
many thanx for any help :o

clint :smiley:

not sure (would need some testing by trial) but i think tou should have only one nagios process with parent PID = 1 if you have more you have more than one nagios process running.

Luca

It’s normal to have several process’ running, but there should be only one parent as luca stated.

nagios 17239 1 0 Aug01 ? 00:32:47 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 19365 17239 0 11:49 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

It’s normal to have several process’ running, but there should be only one parent as luca stated.

nagios 17239 1 0 Aug01 ? 00:32:47 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 19365 17239 0 11:49 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

To change that, see nagios.sourceforge.net/docs/1_0/ … ent_checks