Current attempt for hosts stays on 1
Posted: Thu Jun 11, 2015 6:12 am
Hello,
Just noticed some strange behaviour. In open host problems, I see four hosts down, which is not particularly special, but they each are at attempt one of three. When I check these host's services, they seem normal. So I retrieved the current config of one of those hosts:
Please check the attached screenshot. I did receive an email and after checking the state history, it seems like it is doing two check resulting in a soft state and then after the final third check it goes to hard state. THis does seem normal, but the open host problems (and all) does not seem to reflect correctly at which attempt the host is currently? Thoughts?
Grtz
Willem
Just noticed some strange behaviour. In open host problems, I see four hosts down, which is not particularly special, but they each are at attempt one of three. When I check these host's services, they seem normal. So I retrieved the current config of one of those hosts:
Code: Select all
cat /var/nagiosramdisk/objects.cache | sed -rn "/define host \{/{:a;N;/}/{/.host_name.srv2012/p;d};ba}"
define host {
host_name srv2012test.gentgrp.gent.be
alias srv2012test.gentgrp.gent.be
address xx.xx.xx.xx
check_period xi_timeperiod_24x7
check_command check_xi_host_ping!3000.0!20%!5000.0!80%!!!!
contacts willem.dhaese,nagiosadmin,nagiosadmin
contact_groups cg_dummy
notification_period xi_timeperiod_24x7
initial_state o
importance 0
check_interval 5.000000
retry_interval 1.000000
max_check_attempts 3
active_checks_enabled 1
passive_checks_enabled 1
obsess 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options a
freshness_threshold 0
check_freshness 0
notification_options a
notifications_enabled 1
notification_interval 1440.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
icon_image win_server.png
statusmap_image win_server.png
retain_status_information 1
retain_nonstatus_information 1
_XIWIZARD windowsserver
}
Grtz
Willem