Dan McGinn-Combs | 3 Jan 2006 22:58

Re: How to interpret tSmoke values?

Smokeping stores only the number of lost pings by default. If everything
goes well, the number in "loss" is 0. The CDEF converts this negative
view of the world into a positive one (AVAIL%).

UPTIME is a different measurement altogether. This is how long a
dynamically assigned address has kept that specific address. :(
Dan

-----Original Message-----
From: Edinilson J. Santos [mailto:edinilson <at> atinet.com.br] 
Sent: Tuesday, January 03, 2006 11:00 AM
To: Dan McGinn-Combs; smokeping-users <at> list.ee.ethz.ch
Subject: Re: [smokeping-users] How to interpret tSmoke values?

Mr. Dan, thanks for your explanation.
Is it possible to change tSmoke and make it returns only online values 
instead of loss values?
What exactly to change in the code below (inside tSmoke)?
RRDs::graph "fake.png",
"--start","-604800",
"--end","-600",
"--step","4320",
"DEF:loss=$target:loss:AVERAGE",
"CDEF:avail=loss,UN,0,loss,IF,$pings,GE,0,100,IF",
"PRINT:avail:AVERAGE:%.2lf";

Thanks for your help

Regards

(Continue reading)


Gmane