Bulk remove scheduled downtime?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Bulk remove scheduled downtime?

Post 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.
Andrew J. - Do you even grok?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Bulk remove scheduled downtime?

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Bulk remove scheduled downtime?

Post by vAJ »

Wow. How did I ever miss that... Very cool.

Thanks Ludmil!
Andrew J. - Do you even grok?
Locked