Hi, i'm running Nagios Core (Version 3.5.0) and have some problems with rescheduling services.
We reschedule a service (by "Re-schedule the next check of this service") for checking this service again 24 hours later. This is working fine, but when we reload or restart the Nagios proces by running /etc/init.d/nagios restart or /etc/init.d/nagios reload the schedule of the service disappears and resets to default.
Is it possible to keep the reschedule time we entered when we restart or reload Nagios ?
Nagios resets schedules
Re: Nagios resets schedules
What is the use case for this? Restarting nagios will reset some of the more transient options.
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.
"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.
Re: Nagios resets schedules
Hi Abrist, what do you mean exactly ?
We're monitoring a lot of hosts and services. Every day we've some changes in the config. For applying these changes (adding a service or host) we've to restart nagios.
When we restart nagios our scheduled checks are gone / resetted by default.
We're monitoring a lot of hosts and services. Every day we've some changes in the config. For applying these changes (adding a service or host) we've to restart nagios.
When we restart nagios our scheduled checks are gone / resetted by default.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios resets schedules
Yes it does look like that is default behavior, if you are using check re-scheduling in that sort of fashion "long time expanses" I recommend you submit a feature request to:
http://tracker.nagios.org
That way, a developer will pick up on it and possibly be able to make a change as I am 90% sure this is compiled in with nagios.
http://tracker.nagios.org
That way, a developer will pick up on it and possibly be able to make a change as I am 90% sure this is compiled in with nagios.