notification_interval seems to be ignored
Zembower, Kevin
kzembowe at jhuccp.org
Wed Nov 21 17:10:02 CET 2007
Just to wrap up this topic, I finally defeated this problem by changing
the output of my ambient temperature monitor to not return the actual
temperature in the server room. This made the message static and
unchanging and prevented repeated notifications from going out.
I did completely stop and restart Nagios, but only after I made the
above change, so I don't know for sure that my change caused the problem
to go away, but I strongly suspect so.
I didn't have the time to change the notifications script. However,
notifications are logged in /var/log/syslog on my system. They always
agree with the occurrence of notifications that I received.
When I get some time, I'd be happy to try to investigate this problem
further, since it's not supposed to happen and my solution removes some
functionality that's desirable. If anyone can give me any pointers or
documents regarding running Nagios in debug mode, I'll try it and report
back my finding.
Thanks, again, for all the help and suggestions offered regarding my
problem.
-Kevin
-----Original Message-----
From: Andreas Ericsson [mailto:ae at op5.se]
Sent: Monday, November 19, 2007 5:01 PM
To: Zembower, Kevin
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] notification_interval seems to be ignored
Zembower, Kevin wrote:
> Just a follow-up: Setting 'is_volatile 0' explicitly in the service
> definition didn't seem to affect this behavior; it still sent me 3
> notifications, seemingly when the temperature changed.
>
Right, this is fairly weird. Escalations aren't in effect, is_volatile
is set to zero. notification_interval is 0 and no other nagios install
has this problem.
Can you stop Nagios, make really sure it isn't running and start it
again?
Also verify that absolutely nothing else is sending notifications.
You can do that by replacing the notification script with a home-
hacked version that logs something somewhere every time it sends
a notification and then cross-check that log with your notifications.
If it still sends multiple notifications, It'll be quite hard to
fix without enabling debugging in nagios, and that's quite tedious :-/
--
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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