Nagios not running every midnight

Subhendu Ghosh sghosh at sghosh.org
Wed Dec 6 15:21:56 CET 2006


On Wed, 6 Dec 2006, Hari Sekhon wrote:

> Hi all,
> 
> I've got a weird thing that I've noticed. I have an external script to 
> use the check_nagios plugin to make sure nagios itself is running. I 
> have this cronned to run every 10 minutes and if nagios is found to not 
> be running then I get an email warning me of this.
> 
> The problem I'm having is that every single night at midnight exactly I 
> always get an email saying that nagios is not running, the explanation 
> being the output of the plugin as follows:
> 
> NAGIOS CRITICAL: Cannot parse Nagios log file for valid time
> 

Are you rotating the log files every day? have you tried to run the cron 
job on an offset?

> 
> 
> This is followed by several Recovery Alert emails for a handful of the 
> 112 services I currently monitor reporting that the service is ok. This 
> is strange because I never received any Alert emails that the services 
> were down. I suspect there is nothing wrong with the services at all but 
> this is a nagios quirk or some bug in my configuration or the way I am 
> doing things.
> 
> This occurs every single night. I am running nagios 2.5 with 
> nagios-plugins 1.4.3.
> 
> Any ideas what I can do about this?
> 
> -h
> 
> 

-- 

-sg

-------------------------------------------------------------------------
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