xml status.cgi output

Russell Scibetti russell at quadrix.com
Thu Dec 19 17:08:04 CET 2002


I use my plugin via the check_by_ssh plugin to do remote checks.  You 
can also use it through nrpe, or any of the other remote plugin 
execution methods.

Russell

Carles Amigó wrote:

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

-- 
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038





-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/




More information about the Users mailing list