Nagios 2.5 and weird problem

Mark Hennessy mhennessy at cloud9.net
Thu Nov 30 21:21:18 CET 2006


Nothing of note appears. :(

Is it usually the case that when no checks are running that there would be
two instances of the Nagios process running?

nagios  53577 90.2  0.1  2840  2064  ??  R    12:37PM 146:50.41
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios  76606  0.0  0.1  3100  2360  ??  Ss    9:40AM   0:54.89
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

--
 Mark Hennessy

> -----Original Message-----
> From: Owen Berry [mailto:owen.berry at gmail.com] 
> Sent: Thursday, November 30, 2006 3:16 PM
> To: Mark Hennessy
> Subject: Re: [Nagios-users] Nagios 2.5 and weird problem
> 
> And if you check the Nagios log file - anything catch your eye? Like
> lots of a particualr type of event being processed. Just an idea.
> 
> Owen
> 
> On 11/30/06, Mark Hennessy <mhennessy at cloud9.net> wrote:
> > I'm running lots of custom plugins, mostly perl scripts.
> >
> > ps auxww| grep nagios just shows me two instances of the 
> nagios executable,
> > nrpe, and apache.
> >
> > This one is the one that's currently eating over 90% of my 
> clock cycles:
> >
> > nagios  53577 95.1  0.1  2840  2064  ??  R    12:37PM 107:55.00
> > /usr/local/nagios/bin/nagios -d usr/local/nagios/etc/nagios.cfg
> >
> > Thanks again for your kind attention to this matter!
> >
> > --
> >  Mark Hennessy
> >
> > > -----Original Message-----
> > > From: Jason.Shein at iovate.com [mailto:Jason.Shein at iovate.com]
> > > Sent: Thursday, November 30, 2006 2:38 PM
> > > To: Mark Hennessy; nagios-users at lists.sourceforge.net
> > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem
> > >
> > > Also try the following. It is possible a particular command
> > > that you have
> > > entered into nagios is hanging. Are you running any
> > > non-standard plugins?
> > >
> > > # ps -aux | grep nagios
> > >
> > > ______________________________________________________________
> > > _________________
> > >
> > > Jason Shein
> > > Network Administrator - Linux Systems
> > > Iovate Health Sciences Inc.
> > > 5100 Spectrum Way
> > > Mississauga, ON L4W 5S2
> > > ( 905 ) - 678 - 3119   x 3136
> > > 1 - 888 - 334 - 4448,    x 3136 (toll-free)
> > > jason.shein at iovate.com
> > >
> > > Customer Service. Collaboration. Innovation. Efficiency.
> > > Iovate's Information Technology Team
> > >
> > > ______________________________________________________________
> > > _________________
> > >
> > > CONFIDENTIALITY NOTICE:
> > > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND
> > > CONFIDENTIAL AND IS
> > > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED.
> > > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND
> > > IS DISCLOSED
> > > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT 
> DISCLOSE IT
> > > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS 
> WRITTEN CONSENT
> > > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES
> > > INC. IF YOU
> > > HAVE
> > > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT
> > > TO THE SENDER.
> > > ______________________________________________________________
> > > _________________
> > >
> > >
> > >
> > > "Mark Hennessy" <mhennessy at cloud9.net>
> > > Sent by: nagios-users-bounces at lists.sourceforge.net
> > > 11/30/2006 02:21 PM
> > >
> > > To
> > > <Jason.Shein at iovate.com>, <nagios-users at lists.sourceforge.net>
> > > cc
> > >
> > > Subject
> > > Re: [Nagios-users] Nagios 2.5 and weird problem
> > >
> > >
> > >
> > >
> > >
> > >
> > > OK, I did that, but perhaps I'm missing something.
> > >
> > > The default fields provided for the output of lsof are:
> > > COMMAND     PID    USER   FD     TYPE       DEVICE   SIZE/OFF
> > >     NODE
> > > NAME
> > >
> > > When I grep for "local/nagios" to filter out other things 
> that may be
> > > running
> > > as the nagios user, I get:
> > > nagios    53577  nagios  txt     VREG         0,83     
> 376432  5016784
> > > /usr/local/nagios/bin/nagios
> > > nagios    53577  nagios    4u    VREG         0,83        
>   6  5017162
> > > /usr/local/nagios/var/nagios.lock
> > > nagios    76606  nagios  txt     VREG         0,83     
> 376432  5016784
> > > /usr/local/nagios/bin/nagios
> > > nagios    76606  nagios    4uW   VREG         0,83        
>   6  5017162
> > > /usr/local/nagios/var/nagios.lock
> > > nagios    76606  nagios  txt     VREG         0,83     
> 376432  5016784
> > > /usr/local/nagios/bin/nagios
> > > nagios    76606  nagios    4uW   VREG         0,83        
>   6  5017162
> > > /usr/local/nagios/var/nagios.lock
> > > nagios    76606  nagios  txt     VREG         0,83     
> 376432  5016784
> > > /usr/local/nagios/bin/nagios
> > > nagios    76606  nagios    4uW   VREG         0,83        
>   6  5017162
> > > /usr/local/nagios/var/nagios.lock
> > > nagios    76606  nagios  txt     VREG         0,83     
> 376432  5016784
> > > /usr/local/nagios/bin/nagios
> > > nagios    76606  nagios    4uW   VREG         0,83        
>   6  5017162
> > > /usr/local/nagios/var/nagios.lock
> > > nagios    76606  nagios  txt     VREG         0,83     
> 376432  5016784
> > > /usr/local/nagios/bin/nagios
> > > nagios    76606  nagios    4uW   VREG         0,83        
>   6  5017162
> > > /usr/local/nagios/var/nagios.lock
> > > nagios    76606  nagios  txt     VREG         0,83     
> 376432  5016784
> > > /usr/local/nagios/bin/nagios
> > > nagios    76606  nagios    4uW   VREG         0,83        
>   6  5017162
> > > /usr/local/nagios/var/nagios.lock
> > >
> > > Thanks again for your kind attention to this matter!
> > >
> > > --
> > >  Mark Hennessy
> > >
> > > > -----Original Message-----
> > > > From: nagios-users-bounces at lists.sourceforge.net
> > > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf
> > > > Of Jason.Shein at iovate.com
> > > > Sent: Thursday, November 30, 2006 1:49 PM
> > > > To: nagios-users at lists.sourceforge.net
> > > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem
> > > >
> > > > Try the following to see what part of the nagios process is
> > > > consuming all
> > > > of the resources
> > > >
> > > > #lsof | grep nagios | less
> > > >
> > > > ______________________________________________________________
> > > > _________________
> > > >
> > > > Jason Shein
> > > > Network Administrator - Linux Systems
> > > > Iovate Health Sciences Inc.
> > > > 5100 Spectrum Way
> > > > Mississauga, ON L4W 5S2
> > > > ( 905 ) - 678 - 3119   x 3136
> > > > 1 - 888 - 334 - 4448,    x 3136 (toll-free)
> > > > jason.shein at iovate.com
> > > >
> > > > Customer Service. Collaboration. Innovation. Efficiency.
> > > > Iovate's Information Technology Team
> > > >
> > > > ______________________________________________________________
> > > > _________________
> > > >
> > > > CONFIDENTIALITY NOTICE:
> > > > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND
> > > > CONFIDENTIAL AND IS
> > > > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS 
> ADDRESSED.
> > > > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND
> > > > IS DISCLOSED
> > > > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL 
> NOT DISCLOSE IT
> > > > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS
> > > WRITTEN CONSENT
> > > > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES
> > > > INC. IF YOU
> > > > HAVE
> > > > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY 
> RETURN IT
> > > > TO THE SENDER.
> > > > ______________________________________________________________
> > > > _________________
> > > >
> > > >
> > > >
> > > > "Mark Hennessy" <mhennessy at cloud9.net>
> > > > Sent by: nagios-users-bounces at lists.sourceforge.net
> > > > 11/30/2006 01:40 PM
> > > >
> > > > To
> > > > <nagios-users at lists.sourceforge.net>
> > > > cc
> > > >
> > > > Subject
> > > > [Nagios-users] Nagios 2.5 and weird problem
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > I'm using FreeBSD 6.1 and Nagios 2.5
> > > >
> > > > I've just noticed my Nagios 2.5 installation doing 
> something weird.
> > > >
> > > > I have just under services being monitored by this instance
> > > > of Nagios and
> > > > I
> > > > see this in top:
> > > > 53577 nagios          1 119    0  2840K  2064K RUN    0
> > > 54:12 87.35%
> > > > nagios
> > > >
> > > > It's been doing that for the past few hours now and the only
> > > > thing that
> > > > seems
> > > > to stop it for a while is to kill all nagios processes and
> > > > restart nagios.
> > > >
> > > > What other information would be required to further determine
> > > > the cause of
> > > > Nagios eating up so much CPU?
> > > > Any ideas?
> > > >
> > > > --
> > > >  Mark Hennessy
> > > >
> > > > --------------------------------------------------------------
> > > > -----------
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the
> > > > chance to share
> > > > your
> > > > opinions on IT & business topics through brief surveys -
> > > and earn cash
> > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge
> > > > &CID=DEVDEV
> > > > _______________________________________________
> > > > 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
> > > >
> > > >
> > > > --------------------------------------------------------------
> > > > -----------
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the
> > > > chance to share your
> > > > opinions on IT & business topics through brief surveys -
> > > and earn cash
> > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge
> > > > &CID=DEVDEV
> > > > _______________________________________________
> > > > 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
> > > >
> > >
> > > --------------------------------------------------------------
> > > -----------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the
> > > chance to share
> > > your
> > > opinions on IT & business topics through brief surveys - 
> and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge
> > > &CID=DEVDEV
> > > _______________________________________________
> > > 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
> > >
> > >
> > >
> >
> > 
> --------------------------------------------------------------
> -----------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the 
> chance to share your
> > opinions on IT & business topics through brief surveys - 
> and earn cash
> > 
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> > _______________________________________________
> > 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
> >
> 
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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