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

Michael Friedrich Michael.Friedrich at netways.de
Wed Aug 24 10:43:55 CEST 2016


> 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 **


More information about the icinga-users mailing list