Notifications being send by unclear from where

Marc Powell marc at ena.com
Thu Oct 27 20:54:38 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Mohr James
> Sent: Thursday, October 27, 2005 10:20 AM
> To: Nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Notifications being send by unclear from where
> 
> Hi All!
> 
> I got an SMS notification in the middle of the night last night, but I
> cannot figure out where it is coming from. There is only one single
> service where we hat it set "notifications_enabled 1" and no hosts
with
> notifications enabled. The messages were caused by the infamous
> "CHECK_NRPE: Socket timeout after X seconds."
> 
> Looking in var/status.dat, I see that "notifications_enabled=1" is
> listed for *several* of the services. However, looking in
> etc/services.cfg, none of the services have notifications_enabled. In
> fact, they are very simpl and refereence the service
"generic-service",
> which is shown below.
> 
> It *seems* that all of the services that have enabled notifications
are
> from a specific host, but not all of the services on this host have
> notifications enabled. So it does not appear to be host related. Where
> else do I need to check to find out where notifications are enabled?
Any
> help would be greatly appreaciated.

It sounds like one of two things is happening --

1) You've had notifications enabled in the past and then disabled them
in the config files _and_ you have state retention enabled. This appears
to be the most likely as you have retain_status_information specified in
your template. notifications_enabled is one of the options that the
state retention file setting overrides the config file setting. See the
retention notes at
http://nagios.sourceforge.net/docs/1_0/xodtemplate.html for more
information.

2) You have multiple nagios daemons running, one old with the
notifications_enabled option active and the newer one without. They're
both writing to the same status file so you may see the
notification_enabled bit set some times and not others.

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
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