[omd-users] Problem removing downtimes with OMD 1.30

Andreas Döhler andreas.doehler at gmail.com
Tue Apr 26 23:04:13 CEST 2016


Hi,

you can try to use "host_regex" instead of "host" inside your URL .
That was also a change for search filters.

Best regards
Andreas

<jwolfe at slantx.com> schrieb am Di., 26. Apr. 2016, 00:49:

>
>
>
>
> 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
>
> _______________________________________________
> omd-users mailing list
> omd-users at lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/omd-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/omd-users/attachments/20160426/02f484ab/attachment.html>


More information about the omd-users mailing list