[icinga-users] need more help with filtering and REST API

Seth Galitzer sgsax at ksu.edu
Wed Aug 24 21:55:37 CEST 2016


I think I understand the "acknowledgement" field now, but is there no 
way to detect if a host/service is in downtime in 2.4.10? I'm still 
waiting for 2.5 to hit debmon before I upgrade.

Thanks.
Seth

On 08/24/2016 03:43 AM, Michael Friedrich wrote:
>
>> On 23 Aug 2016, at 23:43, Seth Galitzer <sgsax at ksu.edu> wrote:
>>
>> I'd like to be able to filter hosts and services on downtime and acknowledgement status. eg, only return hosts or services with problems that are not acknowledged and not in downtime. I've got the full list of attributes from an open-ended query, and I can't figure out which ones to use. Getting state is obvious. Getting the other two, not so much. Can somebody please advise?
>
> I’m doing that like this with Dashing: https://github.com/Icinga/dashing-icinga2/blob/master/jobs/icinga2.rb#L97
>
> Kind regards,
> Michael
>
>
> -- 
> Michael Friedrich, DI (FH)
> Senior Developer
>
> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
> CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
> http://www.netways.de | Michael.Friedrich at netways.de
>
> ** OSBConf 2016 - September - osbconf.org **
> ** OSMC 2016 - November - netways.de/osmc **
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users
>

-- 
Seth Galitzer
Systems Coordinator
Computing and Information Sciences
Kansas State University
http://www.cis.ksu.edu/~sgsax
sgsax at ksu.edu
785-532-7790


More information about the icinga-users mailing list