RECURRING DOWN TIME

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
babudhinakaran
Posts: 7
Joined: Tue Sep 04, 2012 9:18 am

RECURRING DOWN TIME

Post by babudhinakaran »

If someone can integrate recurring down time feature to Nagios Core (similar to NagiosXI) would be great. I have tried to integrate third party script which is available on Nagios exchange and "https://www.monitoringexchange.org/inve ... -scheduler", but this is not working as intended.

Cases :

1) When I tried to add new host for recurring schedule it's throwing [NOT FOUND] error with the hostname, I need to remove it manually from the schedule.cfg. Please refer the below e.g.

define schedule {
schedule_type host
host_name TEST.COM[NOT FOUND]
user nagiosadmin
comment Recurring schedule
time 06:00
duration 30
days_of_week sun
}

2) when I schedule multiple host for a same time frame, it doesn't schedule for all the hosts.

3) When I schedule same host for multiple days like sat,sun etc, it schedules for a first day which is sat and not for other day (sun).
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: RECURRING DOWN TIME

Post by eloyd »

I used to do this for a big company using Nagios Core and simple cron scheduling to send commands to nagios (through nagios.cmd) that put the machine(s) into downtime and then took them out. LOTS more easier to implement than dealing with something as a stick-on to Nagios Core.

Same thing could be done with Windows-based Nagios using Task Scheduler.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
Locked