Doh, of course the simplest possible thing.  That did it.<br><br><div class="gmail_quote">On Mon, Mar 31, 2008 at 2:14 PM, Philipp Geschke <<a href="mailto:nagios@pgmail.net">nagios@pgmail.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Might be a quick shot without thinking too much, and I'm not an expert in how notification decisions are down by<br>
nagios (though, there are some docs out there ;-)), but I don't see a "c" in the services notification options.<br>
<br>
</div><div class="Ih2E3d">>         notification_options            w,u,r,f,s<br>
<br>
</div><div class="Ih2E3d">you should be able to get warning states.<br>
<br>
--Philipp<br>
<br>
Eric Cables schrieb:<br>
</div><div><div></div><div class="Wj3C7c">> I have been running 2.5 for quite some time now, and recently decided to<br>
> upgrade to 3.0 since it was out of the beta phase.<br>
><br>
> Everything appears to be working fine from the interface level, but when<br>
> services are critical, alerts are not sent out.  When I drill down on the<br>
> service itself, and check for notifications, the "Last Notification" field<br>
> simply shows:<br>
><br>
> Current Status:  CRITICAL   (for 2d 14h 4m 43s)<br>
> <<omitted><br>
> Last Notification:N/A (notification 0)<br>
><br>
> The "Notifications" option shows "ENABLED", and so I am a bit confused as to<br>
> why notifications have not been sent out.<br>
><br>
> To clarify, host alerts are working just fine, via the check_host_command,<br>
> but no service alerts are working.  I would appreciate any suggestions.<br>
><br>
> Below is an example of how a service is defined, including what I could<br>
> think of as relevant configuration:<br>
><br>
> ---<br>
> define contact{<br>
>         name                            generic-contact<br>
>         service_notification_period     24x7<br>
>         host_notification_period        24x7<br>
>         service_notification_options    w,u,c,r,f,s<br>
>         host_notification_options       d,u,r,f,s<br>
>         service_notification_commands   notify-service-by-email<br>
>         host_notification_commands      notify-host-by-email<br>
>         register                        0<br>
>         }<br>
><br>
> define contact{<br>
>         contact_name                    contactname<br>
>         use                             generic-contact<br>
>         contactgroups                   sgne<br>
>         email                           <a href="mailto:contactemail@mydomain.com">contactemail@mydomain.com</a><br>
>         }<br>
><br>
> define contactgroup{<br>
>         contactgroup_name       sgne<br>
>         alias                   Network Engineering<br>
>         }<br>
><br>
> define service{<br>
>         name                            generic-service<br>
>         notifications_enabled           1<br>
>         notification_interval           180<br>
>         notification_options            w,u,r,f,s<br>
>         check_freshness                 0<br>
>         event_handler_enabled           0<br>
>         obsess_over_service             0<br>
>         flap_detection_enabled          1<br>
>         failure_prediction_enabled      1<br>
>         process_perf_data               1<br>
>         retain_status_information       1<br>
>         retain_nonstatus_information    1<br>
>         is_volatile                     0<br>
>         active_checks_enabled           1<br>
>         passive_checks_enabled          0<br>
>         check_period                    24x7<br>
>         notification_period             24x7<br>
>         normal_check_interval           2<br>
>         max_check_attempts              3<br>
>         retry_check_interval            1<br>
>         register                        0<br>
>         }<br>
><br>
> define service{<br>
>         name                            service-network<br>
>         use                             generic-service<br>
>         service_description             Generic Network Services<br>
>         contact_groups                  sgne<br>
>         register                        0<br>
>         }<br>
><br>
> define hostgroup{<br>
>         hostgroup_name          sdhq-core<br>
>         alias                   SDHQ Core Devices<br>
>         }<br>
><br>
> define host{<br>
>         use                     host-network<br>
>         hostgroups              sdhq-core<br>
>         host_name               <a href="http://device.name" target="_blank">device.name</a><br>
>         alias                    Core Switch<br>
>         address                 <a href="http://device.name.mydomain.com" target="_blank">device.name.mydomain.com</a><br>
>         }<br>
><br>
> define service{<br>
>         use                     service-network<br>
>         servicegroups           sdhq<br>
>         hostgroups              sdhq-general<br>
>         service_description     Environmental Checks<br>
>         check_command           check_snmp_environment!COMMSTRING!cisco<br>
>         }<br>
> ---<br>
><br>
><br>
><br>
</div></div><div><div></div><div class="Wj3C7c">> ------------------------------------------------------------------------<br>
><br>
> -------------------------------------------------------------------------<br>
> Check out the new SourceForge.net Marketplace.<br>
> It's the best place to buy or sell services for<br>
> just about anything Open Source.<br>
> <a href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace" target="_blank">http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Nagios-users mailing list<br>
> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
> ::: Messages without supporting info will risk being sent to /dev/null<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Eric Cables