Procs forked by nagios


#1

Hi,
is it normal to have all the following processes forked when I execute nagios binary file?

Nagios web interface had a strange behavior lately, sometimes , values change without reason, or i can’t follow some links. It’s like there were more than one page generating every time.

nagios 28911 2792 0 15:43 tty1 00:00:00 nagios nagios.cfg nagios 28912 28911 0 15:43 tty1 00:00:00 nagios nagios.cfg nagios 28913 28912 0 15:43 tty1 00:00:00 nagios nagios.cfg nagios 29515 1 0 15:47 tty1 00:00:00 nagios nagios.cfg nagios 29516 29515 1 15:47 tty1 00:00:00 /usr/local/nagios/libexec/check_ping -H 10.7.145.201 -w 200.0,20% -c 600.0,60% -p 5 nagios 29517 29516 0 15:47 tty1 00:00:00 /bin/ping -n -U -w 10 -c 5 10.7.145.201

Thanks for the answers.


#2

Sure, there will often be many running. If your pages are getting messed up, perhaps you have more that one nagios parent proc running.
Stop nagios
ps -ef|grep nagios
if all are dead, then start nagios. If not, then kill the ones alive.


#3

ok, thank you!