<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:10pt;font-family:Courier New">
<p><span style="color:#000000">Nagios 2.0b4</span></p>
<p></p>
<p><span style="color:#000000">I am not getting e-mail notfications of services or hosts going down.</span></p>
<p></p>
<p><span style="color:#000000">I am using this host template -:</span></p>
<p></p>
<p></p>
<p><span style="font-weight:600;color:#000000">define host{</span></p>
<p><span style="font-weight:600;color:#000000">        name                            generic-host    </span></p>
<p><span style="font-weight:600;color:#000000">        notifications_enabled           1      </span></p>
<p><span style="font-weight:600;color:#000000">        event_handler_enabled           1      </span></p>
<p><span style="font-weight:600;color:#000000">        flap_detection_enabled          1       </span></p>
<p><span style="font-weight:600;color:#000000">        failure_prediction_enabled      1      </span></p>
<p><span style="font-weight:600;color:#000000">        process_perf_data               1       </span></p>
<p><span style="font-weight:600;color:#000000">        retain_status_information       1      </span></p>
<p><span style="font-weight:600;color:#000000">        retain_nonstatus_information    1      </span></p>
<p><span style="font-weight:600;color:#000000">        active_checks_enabled           1</span></p>
<p><span style="font-weight:600;color:#000000">        passive_checks_enabled          1</span></p>
<p><span style="font-weight:600;color:#000000">        register                        0      </span></p>
<p><span style="font-weight:600;color:#000000">        }</span></p>
<p></p>
<p><span style="color:#000000">And an example host -:</span></p>
<p></p>
<p><span style="font-weight:600;color:#000000">define host{</span></p>
<p><span style="font-weight:600;color:#000000">        use                             generic-host</span></p>
<p><span style="font-weight:600;color:#000000">        host_name                       switch</span></p>
<p><span style="font-weight:600;color:#000000">        alias                           Master Switch</span></p>
<p><span style="font-weight:600;color:#000000">        address                         ************</span></p>
<p><span style="font-weight:600;color:#000000">        check_command                   check-host-alive</span></p>
<p><span style="font-weight:600;color:#000000">        max_check_attempts              5</span></p>
<p><span style="font-weight:600;color:#000000">        process_perf_data               0</span></p>
<p><span style="font-weight:600;color:#000000">        retain_nonstatus_information    0</span></p>
<p><span style="font-weight:600;color:#000000">        contact_groups                  admins</span></p>
<p><span style="font-weight:600;color:#000000">        notification_interval           30</span></p>
<p><span style="font-weight:600;color:#000000">        notification_period             24x7</span></p>
<p><span style="font-weight:600;color:#000000">        notification_options            d,u,r</span></p>
<p><span style="font-weight:600;color:#000000">        }</span></p>
<p></p>
<p><span style="color:#000000">This is the service template I am using -:</span></p>
<p></p>
<p><span style="font-weight:600;color:#000000">define service{</span></p>
<p><span style="font-weight:600;color:#000000">        name                            switch</span></p>
<p><span style="font-weight:600;color:#000000">        active_checks_enabled           1</span></p>
<p><span style="font-weight:600;color:#000000">        passive_checks_enabled          1</span></p>
<p><span style="font-weight:600;color:#000000">        parallelize_check               1</span></p>
<p><span style="font-weight:600;color:#000000">        obsess_over_service             1</span></p>
<p><span style="font-weight:600;color:#000000">        check_freshness                 0</span></p>
<p><span style="font-weight:600;color:#000000">        notifications_enabled           1</span></p>
<p><span style="font-weight:600;color:#000000">        event_handler_enabled           1</span></p>
<p><span style="font-weight:600;color:#000000">        flap_detection_enabled          1</span></p>
<p><span style="font-weight:600;color:#000000">        failure_prediction_enabled      1</span></p>
<p><span style="font-weight:600;color:#000000">        process_perf_data               1</span></p>
<p><span style="font-weight:600;color:#000000">        retain_status_information       1</span></p>
<p><span style="font-weight:600;color:#000000">        retain_nonstatus_information    1</span></p>
<p><span style="font-weight:600;color:#000000">        register                        0</span></p>
<p><span style="font-weight:600;color:#000000">        }</span></p>
<p></p>
<p><span style="color:#000000">And an example service -:</span></p>
<p></p>
<p><span style="font-weight:600;color:#000000">define service{</span></p>
<p><span style="font-weight:600;color:#000000">        use                             switch</span></p>
<p><span style="font-weight:600;color:#000000">        host_name                       ************</span></p>
<p><span style="font-weight:600;color:#000000">        service_description             PING</span></p>
<p><span style="font-weight:600;color:#000000">        is_volatile                     0</span></p>
<p><span style="font-weight:600;color:#000000">        check_period                    24x7</span></p>
<p><span style="font-weight:600;color:#000000">        max_check_attempts              4</span></p>
<p><span style="font-weight:600;color:#000000">        normal_check_interval           5</span></p>
<p><span style="font-weight:600;color:#000000">        retry_check_interval            1</span></p>
<p><span style="font-weight:600;color:#000000">        contact_groups                  admins</span></p>
<p><span style="font-weight:600;color:#000000">        notification_interval           300</span></p>
<p><span style="font-weight:600;color:#000000">        notification_period             24x7</span></p>
<p><span style="font-weight:600;color:#000000">        check_command                   check_ping!100.0,20%!500.0,60%</span></p>
<p><span style="font-weight:600;color:#000000">        }</span></p>
<p></p>
<p><span style="color:#000000">If I do acknowledge a service error I do get an email confirming that, but get none saying a service or host has gone down or came back up.</span></p>
<p></p>
<p><span style="color:#000000">Anyone any ideas where I could be going wrong?</span></p>
<p></p>
<p><span style="color:#000000">Regards</span></p>
<p></p>
<p><span style="color:#000000">-- </span></p>
<p><span style="color:#000000">Steven Coutts B.Sc.(Hons) MBCS</span></p>
<p><span style="color:#000000">scoutts@bcs.org.uk</span></p>
<p></p>
<p><span style="color:#000000">PGP Public Key</span></p>
<p><span style="color:#000000">http://stevec.couttsnet.com/scoutts.asc</span></p>
</body></html>