Search found 2 matches

by endajf
Tue Jun 11, 2019 9:18 pm
Forum: Open Source Nagios Projects
Topic: Deleting all downtimes for hostgroup
Replies: 3
Views: 901

Re: Deleting all downtimes for hostgroup

Thanks for the link - useful to know. I was going by the list here: https://github.com/NagiosEnterprises/nagioscore/blob/nagios-4.4.3/include/common.h. There are useful-looking del_downtime_* commands in the 'new commands in Nagios 3.x' section. They seem to be processed like all the other commands ...
by endajf
Mon Jun 10, 2019 6:07 pm
Forum: Open Source Nagios Projects
Topic: Deleting all downtimes for hostgroup
Replies: 3
Views: 901

Deleting all downtimes for hostgroup

I am trying to delete all downtimes for a hostgroup. I would like to avoid looping over each host in the group, finding downtime IDs and deleting them individually. I found the command "CMD_DEL_DOWNTIME_BY_HOSTGROUP_NAME", but cannot get it to work. My curl command looks like this: curl -s...