Notifications are sent, even if Notifications are diabled.

Andreas Ericsson ae at op5.se
Wed Sep 17 15:19:37 CEST 2008


Klaus Umbach wrote:
> 2008/9/16 Marc Powell <marc at ena.com>
> 
>> On Sep 16, 2008, at 3:37 AM, Klaus Umbach wrote:
>>
>>> Hi,
>>>
>>> I have the following problem: The notifications for a host are
>>> disabled, but I get the "host down" and th "host up" for the host...
>>>
>>> This does not seem to happen with all hosts...
>> Without specific config snippets and assuming that they're really
>> disabled, my only suggestion would be to verify that you don't have
>> multiple nagios daemons running...
> 
> 
> Here are the snipplets.
> This HOST gets rebooted every night at 5am, and I get the notifications,
> although the timeperiod is set.
> 

For misconfiguration issues:
Are the two machines synced to the same NTP server?
When do the alerts go out (wallclock time)?
What does Nagios think the time is by then?
Have you (stupid, yes I know) reloaded the configuration since you
modified it?
If you're using Nagios 3 with precached configuration, have you
regenerated the precache since you modified it?

For bughunting issues (assumes all of the above are "yes" or
"inside the specified timeperiod"):
Are you using escalations?
Are you using timeperiods with 'exclude' directive, excluding the
mentioned timeperiod (any timeperiod)?
Are you using timeperiods with exceptions (any timeperiod)?

If the misconfiguration checkup is ok, please send me your config
and I'll see what I can get out of it.

> 
> define host {
>     host_name        HOST
>     alias                easy-xbase
>     address            IP_ADDRESS
>     use                generic-host
>     parents            nagios-satellit
>    check_period    HOST_daily
>     notification_period    HOST_daily
> }
> 
> define timeperiod{
>         timeperiod_name HOST_daily
>         alias           HOST_daily
>         monday          00:00-04:30,05:30-24:00
>         tuesday         00:00-04:30,05:30-24:00
>         wednesday       00:00-04:30,05:30-24:00
>         thursday        00:00-04:30,05:30-24:00
>         friday          00:00-04:30,05:30-24:00
>         saturday        00:00-04:30,05:30-24:00
>         sunday          00:00-04:30,05:30-24:00
> }
> 

The object definitions are correct.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

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