Page 1 of 1

Schedule for host report

Posted: Mon Jul 09, 2012 10:37 am
by Mar1kSX
Hi,

I'd to change time of "Next Scheduled Active Check". I set a parameter 'normal_check_interval' to '30' in my localhost.cfg file and restart nagios service.
But after that I saw, for example, the following:

Last Check Time: 07-09-2012 19:31:27
Next Scheduled Active Check: 07-09-2012 19:36:31
Last State Change: 07-09-2012 19:20:00
Last Update: 07-09-2012 19:34:21

I'd like that Next Scheduled Active Check will be 07-09-2012 20:01:27. How should I do that?

Thank you for advise.

Re: Schedule for host report

Posted: Tue Jul 10, 2012 9:32 pm
by jsmurphy
What version of Nagios are you running? Just curious because I think normal_check_interval was deprecated as of Nagios 3.0 and replaced with check_interval (though maybe they left an alias or something).

I'm not particularly well versed on how the scheduling engine works but I think when Nagios first starts it tends to ignore the check_interval somewhat for the first check... after that I think it should begin scheduling every x minutes as defined. Did it continue to do it in 5 minute intervals after that first check? To be honest I don't know what would cause that to happen on-going other than it not reloading properly and not loading the new config. If you run the pre-flight test does it show any issues?

Re: Schedule for host report

Posted: Wed Jul 11, 2012 10:26 am
by Mar1kSX
jsmurphy, thank you for your reply.
I used nagios ver. 3.2.3. I spent a lot of time today, but couldn't configure nagios correctly.
I installed the latest version of nagios (3.4.1) and tried to change a schedule for services and host.
All work fine!

I'll configure and monitor all my hosts and write about results.

Re: Schedule for host report

Posted: Wed Jul 11, 2012 6:23 pm
by jsmurphy
Glad you sorted out the issue!