Nagios Core 4.0.8 issue with Check scheduling

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
tomasz.stelmach
Posts: 3
Joined: Wed Feb 04, 2015 9:37 am

Nagios Core 4.0.8 issue with Check scheduling

Post by tomasz.stelmach »

Hi,

I have upgraded core to version 4.0.8. There is one enhancement which I would like to disable (Check scheduling has been modified to prevent bunching checks at the start of their timeperiod). Problem which I am facing is that I have some checks scheduled once a day and with core 4.0.6 those checks have been runing always at precise time eg. 06:30 am. Now they are executed randomly at 06:43 06:37 etc. I would like to have possibility that Nagios will schedule automatically at precise time 06:30. Is possible to set this somehow with 4.0.8?

Here is part of release notes to which I am referring to:
Nagios Core 4.0.8 has been released and is available for download. This release incorporates many improvements, notably:
JSON API output has been better aligned with the standard, and output size limits have been lifted
Check scheduling has been modified to prevent bunching checks at the start of their timeperiod
Auto-rescheduling of checks has been reimplemented. This can be enabled by setting auto_reschedule_checks=1 in nagios.cfg, and adjusted by setting auto_rescheduling_interval and auto_rescheduling_window as described in the Core 4 Documentation. Auto-rescheduling smoothes the check schedule as it changes over time, and together with the previous improvements, helps to give a more uniform system load.
Core workers handle variable assignments at the start of simple commands that otherwise don't require a subshell, eliminating the need for most uses of env

Thanks,
Tom
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Core 4.0.8 issue with Check scheduling

Post by tgriep »

Have you tried to set auto_reschedule_checks=0 in the nagios.cfg file and tested to see if the check schedule work like you want?
That should disable it for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
tomasz.stelmach
Posts: 3
Joined: Wed Feb 04, 2015 9:37 am

Re: Nagios Core 4.0.8 issue with Check scheduling

Post by tomasz.stelmach »

Hi,

Actually this setting is disabled by defualt so I even havent changed this at all and is like this:
# AUTO-RESCHEDULING OPTION
# This option determines whether or not Nagios will attempt to
# automatically reschedule active host and service checks to
# "smooth" them out over time. This can help balance the load on
# the monitoring server.
# WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE
# PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY
auto_reschedule_checks=0


However when I read from release notes for 4.0.8 "check schduling" and "auto-rescheduling" are separate points so parameter auto_reschedule_checks should not influence on "check schduling". Isnt it?

Release notes for 4.0.8:
-JSON API output has been better aligned with the standard, and output size limits have been lifted
-Check scheduling has been modified to prevent bunching checks at the start of their timeperiod
-Auto-rescheduling of checks has been reimplemented. This can be enabled by setting auto_reschedule_checks=1 in nagios.cfg, and adjusted by setting auto_rescheduling_interval and auto_rescheduling_window as described in the Core 4 Documentation. Auto-rescheduling smoothes the check schedule as it changes over time, and together with the previous improvements, helps to give a more uniform system load.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios Core 4.0.8 issue with Check scheduling

Post by abrist »

tomasz.stelmach wrote:However when I read from release notes for 4.0.8 "check schduling" and "auto-rescheduling" are separate points so parameter auto_reschedule_checks should not influence on "check schduling". Isnt it?
That is correct. I do not think we added any config directives for the changes to check scheduling. You may want to open afeature request bug report on github:
https://github.com/NagiosEnterprises/nagioscore
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
tomasz.stelmach
Posts: 3
Joined: Wed Feb 04, 2015 9:37 am

Re: Nagios Core 4.0.8 issue with Check scheduling

Post by tomasz.stelmach »

jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios Core 4.0.8 issue with Check scheduling

Post by jdalrymple »

Since you got the feature request submitted I'm closing this thread. Please follow the github tracker for status updates on this feature.
Locked