checks, notifications don't work after time period exception

Seth Simmons ssimmons at cymfony.com
Wed Aug 27 04:07:44 CEST 2008


This is interesting.
I setup a test environment using only localhost.
I created a similar time period as I have on my production box, adjusted
the threshold on / free space to purposely generate a warning below 80%
free.
It did go to warning status at 15:18 within the exclusion of 15:00 to
15:30.
It's now 22:05 and when I look at the details it hasn't sent any
notifications - in other words it didn't start notifications after the
exclusion period finished.

Current Status:	
  WARNING   (for 0d 6h 45m 32s)
Status Information:	DISK WARNING - free space: / 13926 MB (79%
inode=84%):
Performance Data:	/=3537MB;3679;5519;0;18399
Current Attempt:	2/2  (HARD state)
Last Check Time:	08-26-2008 22:03:03
Check Type:	ACTIVE
Check Latency / Duration:	0.155 / 0.032 seconds
Next Scheduled Check:  	08-26-2008 22:04:03
Last State Change:	08-26-2008 15:18:03
Last Notification:	N/A (notification 0)
Is This Service Flapping?	  NO   (0.00% state change)
In Scheduled Downtime?	  NO  
Last Update:	08-26-2008 22:03:33  ( 0d 0h 0m 2s ago)


-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark
Young
Sent: Tuesday, August 26, 2008 12:09 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] checks,notifications don't work after time
period exception


On Aug 26, 2008, at 6:56 AM, Seth Simmons wrote:

> I'll probably do away with the time exclusion as it still isn't  
> working.
> I have one service that went critical during the exclusion which has a
> 24x7 check but 4-5:30 notification exclusion and now I can't make it
> send a notice.  I disabled notifications for that service and enabled
> again; also restarted Nagios and still won't send a notice.  It's
> configured to send on the second attempt and every hour after.

You should be able to use timeperiods the way you would like to.  I  
will have to setup my test environment to see if I get the same  
problem you are describing.  It would be nice to figure this out.  Is  
this a problem with other users?


> Obsessing:   ENABLED
Are you passing andy ocsp_commands?
http://nagios.sourceforge.net/docs/3_0/configmain.html#ocsp_command


On Aug 25, 2008, at 6:28 PM, Jon Angliss wrote:

> I had a similar issue. I tried excluding a time slot between 0300, and
> 0600 due to large DB loads causing website performance issues
> (backups, indexing, and such).  When the start of the exception rolled
> around, nagios would just stop checking that service, and would only
> restart on a forced manual check, or restart of the nagios service.  I
> ended up changing the theory to continue checking 24x7, but only alert
> when outside the exception.  Not that it helps the issue, but it
> stopped the symptoms.  I never got around to really digging into the
> issue any deeper.  It did give me the added benefit of knowing when
> the server was actually down during the maintenance window, and when
> it was just being slow.  This was handy for management purposes so
> they could calculate if they need more head count.

Hi Jon,
So it was following your notification timeperiod but not your check  
timeperiod?  Was version of Nagios were you running?  Were you using  
the exclude function (new to nagios 3.x)?  Nagios 3.x did add new  
functionality to timeperiods.  It is possible that a bug was introduced.


Mark Young
___
Nagios Enterprises, LLC
Web:    www.nagios.com

------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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