On Oct 15, 2009, at 3:40 PM, Goutos, Kevin wrote: > Hello all,
Hello. > That shows a test host I’ve been using, I don’t see anything in > there about sending out a notification though..don’t know if I > should be. .. > > > Oct 15 16:11:50 nagios nagios: SERVICE ALERT: AUSTIN-LAPTOP;CPU > Load;OK;HARD;1;CPU Load 2% (5 min average) > Oct 15 16:11:50 nagios nagios: SERVICE ALERT: AUSTIN-LAPTOP;Memory > Usage;OK;HARD;1;Memory usage: total:2440.61 Mb - used: 402.64 Mb > (16%) - free: 2037.97 Mb (84%) > Oct 15 16:11:50 nagios nagios: SERVICE ALERT: AUSTIN-LAPTOP;NSClient+ > + Version;OK;HARD;1;NSClient++ 0.3.6.818 2009-06-14 > Oct 15 16:11:50 nagios nagios: SERVICE ALERT: AUSTIN-LAPTOP;System > Uptime;OK;HARD;1;System Uptime - 1 day(s) 18 hour(s) 57 minute(s) > Oct 15 16:11:50 nagios nagios: SERVICE ALERT: AUSTIN-LAPTOP;Used > Disk Space;OK;HARD;1;c:\ - total: 37.26 Gb - used: 21.69 Gb (58%) - > free 15.57 Gb (42%) > Oct 15 16:12:00 nagios nagios: SERVICE ALERT: AUSTIN-LAPTOP;Ping > Test;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 3.62 ms > Oct 15 16:12:00 nagios nagios: HOST ALERT: AUSTIN-LAPTOP;UP;HARD; > 1;PING OK - Packet loss = 0%, RTA = 0.55 ms These are all OK states. Do you have any examples of non-OK states when you expect a notification to have been sent? Please also provide a few entries prior to the state change and all the way through from SOFT to HARD state. > define contact{ > name generic-contact ; The > name of this contact template > > host_notification_options w,u,c,r,f,s ; > send notifications for all host states, flapping events, and > scheduled downtime events w and c are not valid for host_notification_options. You want 'd' instead. > define host{ > name generic-host > notification_options w,u,c,r,f,s ; > Only send notifications for specific host states w and c are not valid for host notification_options. You want 'd' instead. Check all your host templates. > contact_groups libertyadminsgroup ; > Notifications get sent to the admins by default > register 0 ; DONT > REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } I am assuming that the members of the libertyadminsgroup all use the generic-contact template you provided with minimal modifications. It wouldn't hurt to provide the complete object for this and a sample problem service from both objects.cache and status.dat when the problem occurs. - Verify that notifications are enabled program-wide in nagios.cfg - Verify that it hasn't been disabled via the GUI (Program Status) - Verify that notifications for the specific service haven't been disabled via the GUI (click on them and look or look for them in status.dat) - See the 'Query regarding Nagios notification' thread from yesterday so we don't have to repeat further. -- Marc ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ 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