Page 1 of 1

Bulk remove scheduled downtime?

Posted: Thu Jan 02, 2014 3:02 pm
by vAJ
Hey folks.

Any way to drop a large qty of scheduled downtime entries? I was given a maintenance window for several hundred host/thousands of service checks and the product group has now moved that window. Luckily, since he maintenance was scheduled as a hostgroup command for the master group, all of the downtime IDs are contiguous.

Is there a sql statement I can pass that will drop all of these safely so I can create a new schedule? Or is it possible to pass multiple IDs to the cmd.php in one call?

Code: Select all

nagiosxi/includes/components/nagioscore/ui/cmd.php?cmd_typ=78&down_id=7830
Thanks,
Andrew J.

Re: Bulk remove scheduled downtime?

Posted: Thu Jan 02, 2014 4:02 pm
by lmiltchev
You can bulk remove scheduled downtime easily from the Nagios XI web interface. Go to Home->Incident Management->Mass Acknowledge, scroll down to the "Mass Remove Downtime" section, click on "Check All" and "Remove Downtimes".

Hope this helps.

Re: Bulk remove scheduled downtime?

Posted: Thu Jan 02, 2014 4:07 pm
by vAJ
Wow. How did I ever miss that... Very cool.

Thanks Ludmil!