[Nagiosplug-devel] RFC: Performance data guidelines

Voon, Ton Ton.Voon at egg.com
Wed Aug 6 05:43:03 CEST 2003


This is it - version 1 (alpha) of Nagios plugins performance data:

'label'=value[UOM];[crit];[warn][;[max];[min]]

- space separated
- the single quotes for the label are optional. Required if spaces, = or '
are in the label
- to specify a quote character, two single quotes
- max and min are optional. Holds max space available
- label can contain any characters
- label length is arbitrary, but ideally the first 19 chars are unique (RRD
limitation). Be aware of a limitation in Nagios' plugin returned data
- value, crit, warn, max and min in class [-0-9.]. Must be all the same UOM
- UOM is one of:

no unit specified - assume a number (int or float) of things (users,
processes, load averages)
s - seconds (also us, ms)
% - percentage
B - bytes (also kB, MB, TB)
c - a continuous counter (such as bytes transmitted on an interface)

The aim is that perf data is stored in "Nagios plugin" format. A separate
program does the parsing into whatever you want to use to draw the data (eg,
for RRD, label character and length conversions to conform to limitations)

I'll update the dev guidelines in the next few days.

My feeling about the "direct" and "indirect" plugins is that the indirect
plugins should default to the above performance data format, but is
overrideable with a -P printf specifier.


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.





More information about the Devel mailing list