Re: [Nagios-devel] Documentation Error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Documentation Error

Post by Guest »

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 [email protected] 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:[email protected]]
> Sent: Monday, September 06, 2004 12:10 PM
> To: Mark Musone
> Cc: [email protected]
> 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: [email protected]
>>[mailto:[email protected]] On Behalf Of Ben
>>Clewett
>>Sent: Monday, September 06, 2004 11:33 AM
>>To: [email protected]
>>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/devel ... tml#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
>>[email protected]
>>https://lists.sourceforge.net/lists/lis ... gios-devel
>>
>
>
>






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked