[omd-devel] Problem removing downtimes with OMD 1.30

Drew Wolfe jwolfe at slantx.com
Mon Apr 25 21:24:52 CEST 2016



We recently upgraded to OMD 1.30 and found that our remove downtime
'script' will remove all downtimes on a check_mk instance instead of
just the one specified.  

We run the following to add downtimes:
http://<server>/<site>/check_mk/view.py?output_format=json&_transid=-1&_do_confirm=yes&_do_actions=yes&_username=<SecretUser>&_secret=<Secret>&view_name=hoststatus&host=<host1>&_down_comment=Testing&_down_from_now=yes&_down_minutes=15
http://<server>/<site>/check_mk/view.py?output_format=json&_transid=-1&_do_confirm=yes&_do_actions=yes&_username=<SecretUser>&_secret=<Secret>&view_name=hoststatus&host=<host2>&_down_comment=Testing&_down_from_now=yes&_down_minutes=15

When we run the following
http://<server>/<site>/check_mk/view.py?output_format=json&_transid=-1&_do_confirm=yes&_do_actions=yes&_username=<SecretUser>&_secret=<Secret>&view_name=hoststatus&host=<host1>&view_name=api_downtimes&_down_remove=Remove

the downtimes for host1 and host2 are removed.  When we were running
on 1.20, on the downtime for host1 is removed

Is there an easy fix we can do to resolve this? 

Thanks

-Drew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/omd-devel/attachments/20160425/78376b92/attachment.html>


More information about the omd-devel mailing list