Schedule for host report

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Mar1kSX
Posts: 3
Joined: Fri Jun 08, 2012 10:21 am

Schedule for host report

Post 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.
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Schedule for host report

Post 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?
Mar1kSX
Posts: 3
Joined: Fri Jun 08, 2012 10:21 am

Re: Schedule for host report

Post 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.
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Schedule for host report

Post by jsmurphy »

Glad you sorted out the issue!
Locked