host/service re-check interval is not correct

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

host/service re-check interval is not correct

Post 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
You do not have the required permissions to view the files attached to this post.
Zajil NMS
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: host/service re-check interval is not correct

Post 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
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: host/service re-check interval is not correct

Post 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?
Former Nagios Employee
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: host/service re-check interval is not correct

Post by zaji_nms »

[x zops]# grep 'interval_length' /usr/local/nagios/etc/nagios.cfg
interval_length=60
You do not have the required permissions to view the files attached to this post.
Zajil NMS
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: host/service re-check interval is not correct

Post 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?
Former Nagios Employee
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: host/service re-check interval is not correct

Post by zaji_nms »

PFA is the one are you looking or something else ?
You do not have the required permissions to view the files attached to this post.
Zajil NMS
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: host/service re-check interval is not correct

Post 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
Former Nagios Employee.
me.
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: host/service re-check interval is not correct

Post by zaji_nms »

not having ntp running
Zajil NMS
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: host/service re-check interval is not correct

Post by rkennedy »

What are you using to keep your time in sync?
Former Nagios Employee
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: host/service re-check interval is not correct

Post 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 ?
You do not have the required permissions to view the files attached to this post.
Zajil NMS
Locked