Nagios Service Check Delay

Mirza Dedic mirde at oppy.com
Tue Mar 10 20:50:56 CET 2009


Hello,

I have Nagios monitoring about 200 services on our network, this includes various services, processes and network devices. With this, we also have NSClient++ monitoring our Windows boxes.

Currently, when a service is reported DOWN, Nagios schedules the next service check to be 10minutes after.

Is there a way to make this less? I am looking for something close to 2minutes.

Here is an example of my config..

The Service generic template is:

define service{
        name                            generic-service
        active_checks_enabled           1
        passive_checks_enabled          1
        parallelize_check               1
        obsess_over_service             1
        check_freshness                 0
        notifications_enabled           1
        event_handler_enabled           1
        flap_detection_enabled          1
        failure_prediction_enabled      1
        process_perf_data               1
        retain_status_information       1
        retain_nonstatus_information    1
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           2
        retry_check_interval            1
        contact_groups                  admins
        notification_options            w,u,c,r
        notification_interval           120
        notification_period             24x7
        register                        0
}

The service config:

define service{
        use                             generic-service
        contact_groups                  custom_notifygrp_1
        host_name                       van-report
        service_description             Optimo Report Service
         check_command                  van-report_optimo
}

The check command: (NSClient++ running on the host being checked)

define command{
        command_name    van-report_optimo
        command_line    $USER1$/check_nt -H THEHOST -s PASSWD -p PORT -v SERVICESTATE -l "OptimoReportService"
}


Based on the config above, shouldn't Nagios schedule the next service check within 2 minutes?

What controls this option?

Thanks.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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