[Nagiosplug-devel] Perf Data Formats

Karl DeBisschop karl at debisschop.net
Tue Aug 26 06:51:34 CEST 2003


On Tue, 2003-08-26 at 05:19, Voon, Ton wrote:
> I don't recall a specific reason and I think your way makes more sense.

OK. I have a function to print perfdata that will go in utils.c -- it
takes a few more logic brancehs than it would seem at first, so that you
bacically can't do it inside a die() [used to be terminate(), but was
wrapping too many lines, so I shortened it].

I'll sync that in a few minutes.

> Shall I make the changes to the documentation? I was going to add more
> pedantic stuff like null values and optional thresholds.

By all means, be pedantic. I've assumed that undefined elements are just
blank, and that trailing unfilled semicolons may be dropped but do not
have to be. So both of the following are OK:

	time=12000us;500000;1000000;0
	time=12000us;500000;1000000;0;

--
Karl
> Ton
> 
> > -----Original Message-----
> > From: Karl DeBisschop [mailto:karl at debisschop.net] 
> > Sent: Sunday, August 24, 2003 6:23 AM
> > To: NagiosPlug Devel
> > Subject: [Nagiosplug-devel] Perf Data Formats
> > 
> > 
> > We have this as of our last discussion:
> > 
> > 	'label'=value[UOM];[crit];[warn][;[max];[min]]
> > 
> > As I start to implement these, I wonder why not:
> > 
> > 	'label'=value[UOM];[warn];[crit][;min][;max]
> > 
> > I can easily think of cases where there is a minimum, but no maximum:
> > time values. I am more hard pressed to thin of cases where there is a
> > max but no min. So the second format seems more natural and 
> > would avoid
> > 
> > 	time=8126us;10000;5000;;0
> > 
> > Was there a reason for putting the max ahead of the min?
> > 
> > --
> > Karl
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: VM Ware
> > With VMware you can run multiple operating systems on a 
> > single machine.
> > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
> > at the same time. Free trial click 
> > here:http://www.vmware.com/wl/offer/358/0
> > _______________________________________________
> > Nagiosplug-devel mailing list
> > Nagiosplug-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> > ::: Please include plugins version (-v) and OS when reporting 
> > any issue. 
> > ::: Messages without supporting info will risk being sent to /dev/null
> > 
> 
> 
> 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