xml status.cgi output
Carles Amigó
carles at servidores.com
Wed Dec 18 11:27:44 CET 2002
I was looking for a more "universal" way to access remotely to any
Nagios server.
Parsing status.log would be easyer when doing in the local server. Not
remotely
On Tue, 2002-12-17 at 21:48, Russell Scibetti wrote:
> If you can, don't parse the status.cgi, parse status.log on the box
> running Nagios. In fact, I already have a fairly thorough perl plugin
> called check_state which parses the status.log for Hard problems. You
> can give it various arguments, such as number of
> critical/warning/unknown found in the log to result in a problem state,
> ignoring ack'd problems and things in downtime, regex matching based on
> service and/or host name, etc.
>
> If people are interested in this, I can submit it to the nagiosplug
> project. I had planned on submitting it soon, but I was going to do
> some more cleanup of the perl code first.
>
> -Russell
>
> Carles Amigó wrote:
>
> >Hello,
> >
> >Could Nagios output all status info in a xml output?
> >
> >I would like to make a program that parses all the info remotely, and
> >parsing html is very difficult.
> >
> >Regards
> >
--
Carles Amigó Martínez
Resp. Advanced Hosting
Servidores.com
Tel: (+34) 902 999 707 - Fax: (+34) 93 268 14 79
carles at servidores.com - http://www.servidores.com
Servidores.com es un servicio de Inlander Communications SL
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
More information about the Users
mailing list