Nagios looping, causing hundreds of procs!

DTerrell at Delphi-Tech.com DTerrell at Delphi-Tech.com
Fri Jun 13 18:44:42 CEST 2003


I'm doing ~40 checks per distributed host.  They are fine, and the central
server seems to handle the checks quickly enough (up until there are
hundreds of nagios procs running!).  I will attempt one thing at a
time...first I've pushed the status_update_interval to 120 from 15
(default?).  I should know shortly, at least by the end of the day if its
helped.  If not at that point I'll try the check_command_interval.  The
other suggestion, fixing the host-check-command...I'm using standard
modules, like check_tcp etc, and I cannot pinpoint one particular service
check that's actually causing another nagios to spawn.  WE'll see

Thanks,
Dave

-----Original Message-----
From: Marc Powell [mailto:mpowell at ena.com]
Sent: Friday, June 13, 2003 11:55 AM
To: DTerrell at Delphi-Tech.com; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Nagios looping, causing hundreds of procs!


How many checks are you doing? Are they coming in faster than nagios can
process them? How about your host-check-command? Remember that your
central server will try to execute the host-check-command for any
services that come in as critical. If it can't reach the device hosting
the service you may need to change your host-check-command for that
device on the central server. Additionally, try setting
command_check_interval=-1 in nagios.cfg. You might also want to increase
your status_update_interval (I've got mine set to 120 seconds).

--
Marc

> -----Original Message-----
> From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com]
> Sent: Friday, June 13, 2003 10:43 AM
> To: nagios-users at lists.sourceforge.net
> 
> I'm having a problem with nagios, only recently, where nagios is
starting
> a
> new nagios process every minute!  I'm using a distributed setup with
one
> central and two distributed servers.  Nagios seems to run fine up
until I
> kick on nsca, once the passive checks start coming in it'll kick off
> another
> nagios proc.  After a day my box can be encumbered with just sleeping
> procs!
> 
> 9:54am up 22 days, 20:41, 1 user, load average: 0.36, 0.23, 0.19
> 641 processes: 640 sleeping, 1 running, 0 zombie, 0 stopped
> 
> Any suggestions?!
> 
> ________________________
> David A. Terrell
> MIS Engineer
> Delphi Technology, Inc.
> Cambridge, MA 02139
> 617-494-8361 x2024
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list