Hi,<br><br>I've configured passive service checks and am reporting back the results using nsca. I would like to turn the alerts to be critical after 5 minutes if the monitored servers fail to send any results. Currently the check continues to remain in the last state. How can I achieve this?<br>
<br>>>>>>>>>>>> service_common.cfg <br> define service{<br>                use                    generic_service<br>                name                   passive_service<br>                active_checks_enabled  0<br>
                passive_checks_enabled 1                                <br>                flap_detection_enabled 0<br>                register               0                                <br>                is_volatile            0<br>
                check_period           24x7<br>                max_check_attempts     1<br>                normal_check_interval  5<br>                retry_check_interval   1<br>                check_freshness        0<br>
                contact_groups         admins  <br>                check_command          check_dummy!0<br>                notification_interval  120<br>                notification_period    24x7<br>                notification_options   w,u,c,r<br>
                stalking_options       w,c,u <br>}<br><br clear="all">define service {<br>                use                             passive_service<br>                service_description       HW Sensors<br>                hostgroup_name                  hgp_webservers, hgp_db, hgp_search, hgp_image<br>
                check_command                   check_dummy<br>                active_checks_enabled           0<br>                passive_checks_enabled          1<br>}<br><br>define command{<br>        command_name check_dummy<br>
        command_line $USER1$/check_dummy $ARG1$<br>}<br><br><br>-- <br>( 2b || ! 2b )<br>