Problems with freshness checking
Fabio Lo Votrico
fabio at link.it
Tue Apr 13 15:22:36 CEST 2004
Hi, I'm using only passive checks through nsca over 17 hosts with 4
services.
Sometime Nagios thinks the results of some check are stale, even if
that's not true. For example:
[1081851432] EXTERNAL COMMAND:
PROCESS_SERVICE_CHECK_RESULT;host1;service1;0;service1 is ok
[1081851561] Warning: The results of service 'service1' on host 'host1'
are stale by 9 seconds (threshold=420 seconds). I'm forcing an
immediate check of the service.
but 1081851561-1081851432=129 !
The checks are submitted every 5 minutes and I expect that nagios consider stale a check after 7 minutes (freshness_threshold=420)
any idea?
Nagios version: 1.2
OS: linux redhat based
cfg files:
[services.cfg]
define service{
name passive-service
active_checks_enabled 0
passive_checks_enabled 1
parallelize_check 1
obsess_over_service 1
check_freshness 1
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
register 0
}
define service{
use passive-service
hostgroup_name hostgroup1
service_description service1
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 5
freshness_threshold 420
contact_groups c1
notification_interval 240
notification_period 24x7
notification_options w,u,c,r
check_command noreport
}
[nagios.cfg]
check_external_commands=1
command_check_interval=-1
inter_check_delay_method=s
service_interleave_factor=s
max_concurrent_checks=0
service_reaper_frequency=10
sleep_time=1
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5
retain_state_information=1
use_retained_program_state=0
interval_length=60
use_agressive_host_checking=0
execute_service_checks=1
accept_passive_service_checks=1
obsess_over_services=0
check_for_orphaned_services=0
check_service_freshness=1
freshness_check_interval=60
aggregate_status_updates=1
status_update_interval=15
enable_flap_detection=0
low_service_flap_threshold=5.0
high_service_flap_threshold=20.0
low_host_flap_threshold=5.0
high_host_flap_threshold=20.0
Fabio
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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