Bulk remove scheduled downtime?
Posted: Thu Jan 02, 2014 3:02 pm
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?
Thanks,
Andrew J.
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=7830Andrew J.