Nagios not running every midnight
Sloane, Robert Raymond
sloane at ku.edu
Wed Dec 6 16:04:14 CET 2006
It sounds like your script is running at exactly the time that Nagios
rotates the log files. You might try running it every 10 minutes
starting at 5 minutes past the hour and see if that helps.
--
Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045
Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf
> Of Hari Sekhon
> Sent: Wednesday, December 06, 2006 3:20 AM
> To: Nagios Users mailinglist
> Subject: [Nagios-users] Nagios not running every midnight
>
>
> 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
>
>
>
> 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
>
> --
> Hari Sekhon
>
>
> --------------------------------------------------------------
> -----------
> 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