[Nagiosplug-devel] perf data gudelines

Voon, Ton Ton.Voon at egg.com
Thu Sep 11 03:38:17 CEST 2003


> -----Original Message-----
> From: Karl DeBisschop [mailto:karl at debisschop.net] 
> Sent: Thursday, September 11, 2003 9:11 AM
> To: NagiosPlug Devel
> Subject: [Nagiosplug-devel] perf data gudelines
> 
> 
> in the perfdata, we have a format like:
> 
> 'label'=value[UOM];[warn];[crit];[min];[max]
> 
> There is a parameter in check_http to show an warning status 
> if the page
> is less than a given size.
> 
> I assume that normally, if [crit] was less than [warn], it would be
> clear to whatever handled the data that the critical raneg 
> ran from 0 to
> [crit].

I think this is a range issue, rather than a perfdata issue. Maybe we need a
clarification on ranges in the dev guidelines.

I think we should take the general case for ranges from check_procs:
1) alert if metric outside start:end where start < end, start (and ":") not
required if 0
2) if end not specified, assume infinity
3) if start > end, then alert if inside this range

(A few thoughts: I don't like the specification for (3) - I'd much prefer
some identifier like "*start:end" to mean "inclusive alert"; also how do you
specify  negative infinity?)

So the perf data ranges will take the same format as the warn and crit
ranges with the same meaning.

Shall I document this (with the proviso that not all plugins use this range
definition yet)?

> In this case, there's no [crit] (I guess I could say that [crit] is 0.
> Or could modify check_http so a critical saze can be given also)

I would put crit as undefined to mean there is no critical level.

> But I'm wondering how we should show something where 2 through 10 was
> OK, but less than 2 or greater than 10 was a warning state (process
> counting often has that sort of threshold structure).

With the ranges specified, I think a clever Nagiosplugins->RRD tool could
draw the appropriate alert areas in yellow and red with the line of data in
black.

Ton


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