Re: [Nagios-users] Notifications are sent, even if Notifications are diabled.

2008-09-17 Thread Klaus Umbach
2008/9/16 Marc Powell [EMAIL PROTECTED]


 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.


define host {
host_nameHOST
aliaseasy-xbase
addressIP_ADDRESS
usegeneric-host
parentsnagios-satellit
   check_periodHOST_daily
notification_periodHOST_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
thursday00:00-04:30,05:30-24:00
friday  00:00-04:30,05:30-24:00
saturday00:00-04:30,05:30-24:00
sunday  00:00-04:30,05:30-24:00
}





-- 
First Official Internetdenier
-
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=100url=/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Notifications are sent, even if Notifications are diabled.

2008-09-17 Thread Andreas Ericsson
Klaus Umbach wrote:
 2008/9/16 Marc Powell [EMAIL PROTECTED]
 
 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_nameHOST
 aliaseasy-xbase
 addressIP_ADDRESS
 usegeneric-host
 parentsnagios-satellit
check_periodHOST_daily
 notification_periodHOST_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
 thursday00:00-04:30,05:30-24:00
 friday  00:00-04:30,05:30-24:00
 saturday00:00-04:30,05:30-24:00
 sunday  00:00-04:30,05:30-24:00
 }
 

The object definitions are correct.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
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=100url=/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Notifications are sent, even if Notifications are diabled.

2008-09-16 Thread Klaus Umbach
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...

Cheers
Klaus

--
(Nagios 3.0.3)
-
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=100url=/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Notifications are sent, even if Notifications are diabled.

2008-09-16 Thread Marc Powell

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

--
Marc


-
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=100url=/
___
Nagios-users mailing list
Nagios-users@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