Nagios 2.5 and weird problem

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


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





More information about the Users mailing list