many nagios processes start and quit
Jeremy Tinley
jtinley at unirez.com
Tue Sep 17 16:30:22 CEST 2002
IIRC, this is normal. Nagios starts new processes for each of its
host/service checks. Naturally, stopping all your service and host
checks would decrease the load, but then you aren't really doing any
monitoring then, are you? :)
Try changing your grep to look for just nagios. You should see a
check_xxxxx where xxxx is the type of check, ex., check_http) for each
instance of nagios, minus one for the parent.
-J
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel
Geske
Sent: Tuesday, September 17, 2002 9:23 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] many nagios processes start and quit
Hi all,
I start the nagios process once and it runs fine. When I do a ps,
however, I
see many other process daemonizing, then disappearing soon thereafter.
The first process I started manually stays.
What can I do against this sort of behavior? I think removing this
problem
would reduce load on my system.
Below you will find two ps returns, one that shows all the weird ones
that
disappear, the other one doen right afterwards, being alright - the way
it
should be.
I'd be happy to hear from you soon.
Sincerely
Daniel
----------------------------------------------
:/usr/local/nagios/etc # ps waux | grep bin/nagios
nagios 2645 0.1 1.0 2584 1372 ? S 15:29 0:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 4917 0.0 1.0 2584 1372 ? S 15:29 0:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 4945 0.0 1.0 2584 1372 ? S 15:29 0:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 4949 0.0 1.0 2584 1372 ? S 15:29 0:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 5005 0.0 1.0 2584 1372 ? S 15:29 0:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 5049 0.0 1.0 2584 1372 ? S 15:29 0:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 5078 0.0 1.0 2584 1372 ? S 15:29 0:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 5115 0.0 1.0 2584 1372 ? S 15:30 0:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 5174 0.0 0.4 1600 536 pts/2 R 15:30 0:00 grep
bin/nagios
----------------------------------------------
:/usr/local/nagios/etc # ps waux | grep bin/nagios
nagios 2645 0.1 1.0 2584 1372 ? S 15:29 0:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 14446 0.0 0.4 1600 536 pts/2 R 15:33 0:00 grep
bin/nagios
----------------------------------------------
Comment: PID 2645 was originally started by me and stays in the process
list. The others come and go...?
Is this normal behaviour?
I am running the latest Nagios 1.0b6 on Linux.
-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology!
Open Source & Linux Developers, register now for the AMD Developer
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology!
Open Source & Linux Developers, register now for the AMD Developer
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
More information about the Users
mailing list