Page 1 of 2
host/service re-check interval is not correct
Posted: Sun Feb 14, 2016 3:34 am
by zaji_nms
dear expert,
we are running nagiosxi 5.2.3 latest
we have noticed that host/service re-check interval what is set it is not behaving accordingly kindly look at the snap for your understanding. in that example re-try intrval is 1 min if host/service state change but it is recheked in seconds why ?
plz resolve this bug asap
Re: host/service re-check interval is not correct
Posted: Sun Feb 14, 2016 5:33 am
by WillemDH
Weird,
Tested on my test XI and seems to be pretty much one minute there. Do you see this behavior on all your services? Could you doublecheck one or more other failing service retry intervals? Is it possible something happened during that timeframe, such as an apply configuration or maybe a vmotion? Are your date / time settings correct?
Please run
Code: Select all
ntpdate -u <ip-of-your-ntp-server>
Please post output here. Could be your time is a bit off? Is your ntpd configured and running?
Grtz
Re: host/service re-check interval is not correct
Posted: Mon Feb 15, 2016 12:22 pm
by rkennedy
Thanks @WillemDH!
Can you post the full service definition, and the result of grep 'interval_length' /usr/local/nagios/etc/nagios.cfg for us to look at?
Re: host/service re-check interval is not correct
Posted: Tue Feb 16, 2016 12:13 am
by zaji_nms
[x zops]# grep 'interval_length' /usr/local/nagios/etc/nagios.cfg
interval_length=60
Re: host/service re-check interval is not correct
Posted: Tue Feb 16, 2016 2:42 pm
by rkennedy
Seeing as you're using a template, I'd like to specifically look at your objects.cache file. Can you please PM over a profile?
Re: host/service re-check interval is not correct
Posted: Wed Feb 17, 2016 2:28 am
by zaji_nms
PFA is the one are you looking or something else ?
Re: host/service re-check interval is not correct
Posted: Wed Feb 17, 2016 10:35 am
by hsmith
Can you check if what Willem said helps you out?
WillemDH wrote:Weird,
Tested on my test XI and seems to be pretty much one minute there. Do you see this behavior on all your services? Could you doublecheck one or more other failing service retry intervals? Is it possible something happened during that timeframe, such as an apply configuration or maybe a vmotion? Are your date / time settings correct?
Please run
Code: Select all
ntpdate -u <ip-of-your-ntp-server>
Please post output here. Could be your time is a bit off? Is your ntpd configured and running?
Grtz
Re: host/service re-check interval is not correct
Posted: Thu Feb 18, 2016 12:33 am
by zaji_nms
not having ntp running
Re: host/service re-check interval is not correct
Posted: Thu Feb 18, 2016 11:54 am
by rkennedy
What are you using to keep your time in sync?
Re: host/service re-check interval is not correct
Posted: Mon Feb 22, 2016 3:27 am
by zaji_nms
localtime ( system time )
[root@nms zops]# date
Mon Feb 22 11:17:19 AST 2016
[root@nms zops]# clock
Mon 22 Feb 2016 11:09:48 AM AST -0.906650 seconds
then i did hwclock --systohc
[root@nms zops]# hwclock --systohc
[root@nms zops]# clock
Mon 22 Feb 2016 11:18:12 AM AST -0.516143 seconds
[root@nms zops]# date
Mon Feb 22 11:18:13 AST 2016
is it correct or do we need to change to something else what is recommended ?