Immediate Check of service?

Mike Koponick mkoponick at redhawk.info
Wed Feb 8 19:07:48 CET 2006


Hello All,

I think this subject has been around the block a few times, but I'm
still confused.

I have a distributed model working in a "lab" environment but I see the
following message on the Central Server.

"nagios: Warning: The results of service 'check_ping' on host
'Company-A-Switch-21' are stale by 60 seconds (threshold=420 seconds).
I'm forcing an immediate check of the service."


I currently am only using service checks, since (I think) it make sense
for the environment that I will be using the distributed model. Host
checks are disabled.

I don't mind that fact that it comes up "stale", but why force an
immediate check of the service? Is there a way to turn this office since
I'm in "Passive Mode" anyway?

The situation would be that the Central Server does not have direct
access to the remote network, but only receives data from each remote
sensor. 

Thanks in advance,

Mike




Here is a snippet from my services configuration from the Central
Server:

########################################################################
####

define  service {
        host_name                       Company-A-Switch-21
        service_description             check_ping
        is_volatile                     1
        check_command                   check-host-alive
        max_check_attempts              1
        normal_check_interval           2
        retry_check_interval            1
        active_checks_enabled           0
        passive_checks_enabled          1
        check_period                    24x7
        parallelize_check               1
        obsess_over_service             1
        check_freshness                 1
        freshness_threshold             420
        event_handler_enabled           1
        low_flap_threshold              0
        high_flap_threshold             0
        flap_detection_enabled          1
        process_perf_data               1
        retain_status_information       1
        retain_nonstatus_information    1
        contact_groups                  Support
        notification_interval           0
        notification_period             24x7
        notification_options            w,u,c,r
        notifications_enabled           1
        register                        1
        }

########################################################################
####

Here is a snippet from my services configuration from the remote sensor:

########################################################################
####

define  service {
        host_name                       Company-A-Switch-21
        service_description             check_ping
        is_volatile                     0
        check_command                   check_ping!100.0,20%!500.0,60%
        max_check_attempts              2
        normal_check_interval           2
        retry_check_interval            1
        active_checks_enabled           1
        passive_checks_enabled          0
        check_period                    24x7
        parallelize_check               0
        obsess_over_service             1
        check_freshness                 0
        event_handler_enabled           0
        flap_detection_enabled          1
        process_perf_data               0
        retain_status_information       1
        retain_nonstatus_information    1
        contact_groups                  Support
        notification_interval           99
        notification_period             24x7
        notification_options            w,u,c,r,f
        notifications_enabled           0
        register                        1
        }

########################################################################
####


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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