To add - cgis can be run on the shell as well, with e.g. exported
QUERY_STRING and so on. Details in the documentation - also on the
parameters which may be used for filtering. Tip - use csv or json output.

On the other hand - using icinga web's rest api may also be possible.
Am 28.11.2012 05:06 schrieb "Matthew Brooks" <matt...@sonomatechpartners.com
>:

>
> On Tue, Nov 27, 2012 at 3:36 AM, Tomas Macek <ma...@fortech.cz> wrote:
>
>> Hi, I'd like to know somehow, how many services in critical state do I
>> have in our Icinga.
>> Is it possible to get this somehow? - by means of API for example? Or is
>> it a nonsense with current versions.
>>
>> Regards, Tomas
>>
>
> In the Classic UI the number is right there in the TAC Header at the top
> in the Critical display portion of the Services line. In addition, you
> can quickly get to the actual list of them because each number (e.g. 0/0/0)
> as well as the word CRITICAL are links that will bring you from left to
> right to:
>
> All UNACKNOWLEDGED Critical Services
>
> http://YOURDOMAIN/icinga/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=16&hoststatustypes=3&serviceprops=2097162
>
> All ACKNOWLEDGED Critical Services
>
> http://YOURDOMAIN/icinga/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=16&hoststatustypes=3&serviceprops=2097158
>
> All HANDLED Critical Services
>
> http://YOURDOMAIN/icinga/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=16&serviceprops=1048576
>
> ALL Critical Services
>
> http://YOURDOMAIN/icinga/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=16
>
> If you are using icinga-web, it also displays the same numbers and I
> believe has similar links as well.
>
> Matthew
>
>
>
> ------------------------------------------------------------------------------
> Keep yourself connected to Go Parallel:
> INSIGHTS What's next for parallel hardware, programming and related areas?
> Interviews and blogs by thought leaders keep you ahead of the curve.
> http://goparallel.sourceforge.net
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>
>
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to