[omd-users] Problem removing downtimes with OMD 1.30

jwolfe at slantx.com jwolfe at slantx.com
Tue Apr 26 00:48:50 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



More information about the omd-users mailing list