Status.cgi Question

Hendrik BŠäcker andurin at process-zero.de
Sun Mar 23 19:10:45 CET 2008


Jeremiah Millay schrieb:
> Does anyone know the variables I would need to pass to status.cgi to be 
> able to view all problems in one page (host and service combined)?
>
> Right now all service problems can be viewed by sending this to status.cgi:
>
> status.cgi?host=all&servicestatustypes=28
>
> All host problems can be viewed with this:
>
> status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12
>
> I'm basically just trying to create a link for "All Problems" and "All 
> Unhandled Problems" in the nagios menu. That way someone who is watching 
> nagios doesn't have to click between two pages.
>
>   
What about:
status.cgi?host=all&type=detail&hoststatustypes=12&serviceprops=42&servicestatustypes=28
This should show all hosts in detail, with the following filter:
* only hosts that are DOWN/Unreachable or UNKNOWN
* only services that are Warning or Unknown or Critical
* only services that have:
    * active checks enabled
    * unacknowledged
    * not in downtime

If you would set the downtime/acknowledge filter on hosts too it should 
be able with: hostprops=42

Regards
Hendrik

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list