extra "checkresults" files being left behind

Mathew Walker lmw94002 at hotmail.com
Thu Jun 10 22:18:24 CEST 2010



Nagios v3.2.0

 

And I see the check and check.ok files:

-rw------- 1 nagios nagios    291 Jun  9 07:12 checkzGuzY7
-rw------- 1 nagios nagios    280 Jun  7 21:54 checkzjh6PZ
-rw------- 1 nagios nagios    483 Jun 10 13:07 cxHWRxJ
-rw------- 1 nagios nagios      0 Jun 10 13:07 cxHWRxJ.ok


But the check* orphan files just keep showing up.  They don't relate to a specific host or check.  No real pattern to time, host, service, etc.  I could understand if the system was hitting 100% memory or CPU... but the memory is pretty stable in the 50-70% used range.  Load is nearly 0.00 across the board.  The system is pretty much dedicated to my running nagios as a test box.


-- 
Mat W. - http://www.techadre.com


 
> Date: Wed, 9 Jun 2010 20:51:35 -0700
> From: mike-nagios at 5dninja.net
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] extra "checkresults" files being left behind
> 
> Mathew Walker wrote:
> > I'm running Nagios on a little VPS box checking a few hosts/services 
> > (~50 checks). It's mostly a testing platform for me and checks in on my 
> > other test VPS systems.
> > 
> > However I keep seeing the extra check results data files build up in 
> > /usr/local/nagios/var/spool/checkresults like:
> > -rw------- 1 nagios nagios 249 Jun 7 23:45 checknbu01O
> > -rw------- 1 nagios nagios 252 Jun 8 02:40 checkHxcsiJ
> >
> > Googled a bit and didn't come up with much relevant. Any thoughts?
> 
> If I remember correctly, the parent nagios process writes out that file, 
> then forks a child. The child then runs the check, updates that file 
> and then creates a file with the same name, plus '.ok' in that 
> directory, letting the parent process know the check is completed.
> 
> So, take a look at the contents of several of those files, if you're 
> lucky, you'll see that either they are for the same host, or the same 
> service check. If so, there might be something in the way that host or 
> service is getting polled that is causing the forked child to die.
> 
> Also, if you're running a version older than 3.0rc1 (generally always a 
> good thing to include the version of the tool you're useing, when asking 
> for help) then you may want to upgrade, that version fixed a bug that 
> might be related: "Fixed bug with not deleting old check result files 
> that contained results for invalid host/service"
> 
> -- 
> Mike Lindsey
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit. See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> 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
 		 	   		  
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100610/05c87ec7/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
-------------- next part --------------
_______________________________________________
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