We've moved to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

RECURRING DOWN TIME

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

RECURRING DOWN TIME

Postby babudhinakaran » Mon May 26, 2014 9:25 am

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/inventory/Utilities/AddOn-Projects/Downtimes/downtime_sched%253A-recurring-downtime-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).
babudhinakaran
 
Posts: 7
Joined: Tue Sep 04, 2012 9:18 am

Re: RECURRING DOWN TIME

Postby eloyd » Sat Jun 21, 2014 8:41 pm

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!
User avatar
eloyd
Cool Title Here
 
Posts: 2104
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY


Return to Community Support

Who is online

Users browsing this forum: No registered users and 18 guests