Nagios not running every midnight

Hari Sekhon hpsekhon at googlemail.com
Wed Dec 6 15:38:07 CET 2006


I thought about this, I will try to run it at 2 minutes past or 
something and see how it goes...

-h

Hari Sekhon



Subhendu Ghosh wrote:
> 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
>>
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061206/adf4f55c/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- 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