Documentation Error

Ben Clewett Ben at clewett.org.uk
Mon Sep 6 18:22:29 CEST 2004


Mark Musone wrote:

> Ahh..yep..good point.
> 
> Funny you mention it, because when I was writing a performance-parser
> script, I remember having to add in an optional comma separator code
> because of that...i wonder if some plugins actually do send a comma
> separator..

Yes, lots :)

We get a few postings to perfparse-users at lists.sourceforge.net asking 
why their plugins don't parse, because of this.  I now wonder if they 
saw this example...

At least it's an easy one to fix :)

Ben


> 
> -Mark
> 
> 
> -----Original Message-----
> From: Ben Clewett [mailto:Ben at clewett.org.uk] 
> Sent: Monday, September 06, 2004 12:10 PM
> To: Mark Musone
> Cc: nagios-devel at lists.sourceforge.net
> Subject: Re: [Nagios-devel] Documentation Error
> 
> Mark Musone wrote:
> 
> 
>>No, take a closer look at the documentation:
>>
>>'label'=value[UOM];[warn];[crit];[min];[max]
>>
>>Notes:
>>
>>warn, crit, min or max may be null (for example, if the threshold is
> 
> not
> 
>>defined or min and max do not apply). Trailing unfilled semicolons can
>>be dropped
> 
> 
> Sorry, I should have been more specific.
> 
> The problem with the example is that the delimiter shown is a ',' where 
> as it should be white space.  To quote:
> 
> "Notes: 1. space separated list of label/value pairs"
> 
> Ben
> 
> 
> 
> 
> 
> 
>>-Mark
>>
>>
>>
>>
>>-----Original Message-----
>>From: nagios-devel-admin at lists.sourceforge.net
>>[mailto:nagios-devel-admin at lists.sourceforge.net] On Behalf Of Ben
>>Clewett
>>Sent: Monday, September 06, 2004 11:33 AM
>>To: nagios-devel at lists.sourceforge.net
>>Subject: [Nagios-devel] Documentation Error
>>
>>To whom it may concern,
>>
>>There is a big error in the Nagios documentation where an example of 
>>performance data is given:
>>
>>http://nagios.sourceforge.net/docs/1_0/perfdata.html
>>
>>The example given is:
>>
>>PING ok - Packet loss = 0%, RTA = 0.80 ms | percent_packet_loss=0,
>>rta=0.80
>>
>>Yet from this site:
>>
>>http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN185
>>
>>I believe the example above should correctly be given as:
>>
>>PING ok - Packet loss = 0%, RTA = 0.80 ms | percent_packet_loss=0%;;;;
> 
> 
>>rta=0.80ms;;;;
>>
>>This might cause confusion to plugin developers.
>>
>>I have to note that the example 'ping' is about the only plugin which 
>>does not yet produce any performance data. :)
>>
>>Regards, Ben Clewett.
>>
>>
>>
>>
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by BEA Weblogic Workshop
>>FREE Java Enterprise J2EE developer tools!
>>Get your free copy of BEA WebLogic Workshop 8.1 today.
>>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
>>_______________________________________________
>>Nagios-devel mailing list
>>Nagios-devel at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nagios-devel
>>
> 
> 
> 



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click




More information about the Developers mailing list