[Nagiosplug-help] latest check_nagios does not parse 2.0b1 status log...

Andreas Ericsson ae at op5.se
Wed Jan 19 22:46:36 CET 2005


James wrote:
> I've searched net and mailing list, read the docs, etc, and have not found a
> patch/suggestion on how to changedthe source code of check_nagios to correctly
> parse the new format of the status log in Nagios 2.0b1.
> 
> Basically, the old status.log got continuously appended line by line with a Unix
> time stamp at the beginning of each line.  The new status.log is in the form of
> stanzas with the following at the beginning of each stanza:
> 
> info {
>         created=1106176717
>         version=2.0b1
>         }
> 
> Has anyone rewritten the code to properly parse the new format?
> 

That file is already parsed by the cgi's, so there would be no need for 
an external app to do it.

> James
> 
> 
> 
> 
> ----------------------------------------------------
> This mail sent through jkm.NET secure webmail server
> 
> 
> ------------------------------------------------------------------------
> 
> Spam detection software, running on the system "basil.jkm.net", has
> identified this incoming email as possible spam.  The original message
> has been attached to this so you can view it (if it isn't spam) or label
> similar future email.  If you have any questions, see
> postmaster at jkm.net for details.
> 
> Content preview:  I've searched net and mailing list, read the docs, etc,
>   and have not found a patch/suggestion on how to changedthe source code
>   of check_nagios to correctly parse the new format of the status log in
>   Nagios 2.0b1. [...] 
> 
> Content analysis details:   (3.5 points, 1.0 required)
> 
>  pts rule name              description
> ---- ---------------------- --------------------------------------------------
>  3.5 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP addr 1)
> 
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer




More information about the Help mailing list