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:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 11:00 AM To: Dan McGinn-Combs; [EMAIL PROTECTED] 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 Edinilson --------------------------------------------------------- ATINET-Professional Web Hosting Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br ----- Original Message ----- From: "Dan McGinn-Combs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Edinilson J. Santos" <[email protected]> Sent: Tuesday, January 03, 2006 12:51 PM Subject: RE: [smokeping-users] How to interpret tSmoke values? Good question. tSmoke was designed to be a management summary reporting tool. For that reason, the numbers are averages of RRD values showing downtime (i.e. having lost more than 10% of the PINGS sent out). The RRD command which extracts this data is 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"; It doesn't really create a PNG file, just reports the PRINTed information which is the average loss. That number is used by CDEF to create another number (avail) which is a percentage of how many timeslots had downtime (defined as above). So if you've changed any of the Smokeping defaults, you will see a difference. In addition, you might also have a bad circuit which is lossy causing there to be 10% failures in more slots... causing the average availability to look very bad. I hope this helps. Dan -----Original Message----- Using smokeping.cgi I can see in a weekly report something like: Median Ping RTT (160.4 ms avg) Packet Loss: 67.74% average 100.00% maximum 11.03% current Probe: 10 ICMP Pings (7300 bytes) Every 1800 seconds BUT with tSmoke the same host returns: Uptime: 6.19% I don't know exactly how to interpret this value (6.19%). -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/smokeping-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
