AW: Notifications being send by unclear from where

Mohr James james.mohr at elaxy.com
Thu Oct 27 21:37:42 CEST 2005


>> -----Ursprüngliche Nachricht-----
>> Von: nagios-users-admin at lists.sourceforge.net 
>> [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag 
>> von Marc Powell
>> Gesendet: Donnerstag, 27. Oktober 2005 20:55
>> An: Nagios-users at lists.sourceforge.net
>> Betreff: RE: [Nagios-users] Notifications being send by 
>> unclear from where
>> 
>> 
>> 
>> > -----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.

That's the ticket. It's a good day when I learn something. Thanks! 

Regards,

Jim Mohr

<SNIP>


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