PDA

View Full Version : restarting nagios from oreon causes multiple spawns


ilikecheese
12-15-2005, 10:37 PM
Hello,

I have oreon 1.2.2 and nagios 1.3 on a debian 3.1rc1 based system.

issue: I add, delete, or otherwise modify a host or service from the oreon interface. Then I click appy, generate, and restart. This apparently causes nagios to spawn new processes, but not kill the old ones.

example: On a fresh boot of debian, there are 3 nagios processes running. I add a host and a service, appy, generate, restart. Then there are 15 nagios processes running, which settled down to 7, then back up to 14.

TIA

Following is a snipit from nagios.log

[1134663046] Caught SIGTERM, shutting down...
[1134663046] Nagios 1.3 starting... (PID=32422)
[1134663046] Finished daemonizing... (New PID=32423)
[1134666646] Auto-save of retention data completed successfully.
[1134668812] Caught SIGTERM, shutting down...
[1134668812] Successfully shutdown... (PID=32423)
[1134668812] Nagios 1.3 starting... (PID=15229)
[1134668812] Warning: Host 'Nagios' has no services associated with it!
[1134668812] Warning: Host 'Nagios' is not a member of any host groups!
[1134668812] Finished daemonizing... (New PID=15230)
[1134669030] Caught SIGTERM, shutting down...
[1134669030] Successfully shutdown... (PID=15230)
[1134669030] Nagios 1.3 starting... (PID=17174)
[1134669030] Warning: Host 'Nagios' is not a member of any host groups!
[1134669030] Finished daemonizing... (New PID=17175)
[1134670027] Caught SIGTERM, shutting down...
[1134670027] Successfully shutdown... (PID=17175)
[1134670156] Nagios 1.3 starting... (PID=1871)
[1134670156] Warning: Host 'Nagios' is not a member of any host groups!
[1134670156] Finished daemonizing... (New PID=1872)
[1134673756] Auto-save of retention data completed successfully.
[1134676529] Caught SIGTERM, shutting down...
[1134676529] Successfully shutdown... (PID=1872)
[1134676530] Nagios 1.3 starting... (PID=22691)
[1134676530] Finished daemonizing... (New PID=22692)

templuche
12-16-2005, 11:22 AM
Hello,


It is not a Oreon problem. It is a Nagios bug. See :
- http://nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=true
- https://sourceforge.net/mailarchive/message.php?msg_id=12485210

ilikecheese
12-16-2005, 05:18 PM
Hello,


It is not a Oreon problem. It is a Nagios bug. See :
- http://nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=true
- https://sourceforge.net/mailarchive/message.php?msg_id=12485210

Well many thanks for the reply. It seemed like a nagios thing, but I thought I would start here....