Thanks for the suggestions!
--Andy
On Jan 3, 2013, at 3:09 AM, Páll Guðjón Sigurðsson wrote:
> Hi andy,
>
> as for the tac.cgi i think your best bet is to parse the html.
>
> Alternatively if you have pynag installed on the nagios server you can use
> this script:
>
> import pynag.Parsers
Hi andy,
as for the tac.cgi i think your best bet is to parse the html.
Alternatively if you have pynag installed on the nagios server you can use this
script:
import pynag.Parsers
s = pynag.Parsers.status()
s.parse()
all_services = s.data['servicestatus']
unhandled_problems = [service for se