[cricket-users] Values on web page do not match values cricket is getting

From: Stephen Carville (carville@ugsolutions.com)
Date: Thu Nov 11 1999 - 09:26:13 PST


From: Stephen Carville <carville@ugsolutions.com>

For some reason the values reported on the webpage d not match the
values cricket sez it is gathering.

I have a program that returns one of tow possible value combinations.
One is the average of ten quick pings and a zero. In case there are
excessive timeouts the program returns 0 and 100. Cricket seems to be
getting the data correctly but the values reported on the webpage are
different. The values are called "Average" and "Timeout."

======================================================
Cricket reports:
[11-Nov-1999 09:25:08 ] Retrieved data for houston (): 140.32,0.00

Webpage :
Average round-trip response times for Houston via IPSEC

Values at last update:
Average (for the day):
Cur: 136.58 ms
 Avg: 101.54 ms
 Max: 278.66 ms

Timeout (for the day):
Cur: 2.67 ms
 Avg: 13.57 ms
 Max: 100.00 ms

Last updated at Thu Nov 11 09:25:08 1999

Cricekt reports:
[11-Nov-1999 09:25:13 ] Retrieved data for houston-internet ():0.00,100.00

Webpage reports:
Average round-trip response times for Houston via Internet

Values at last update:
Average (for the day):
Cur: 3.90 ms
 Avg: 96.74 ms
 Max: 219.58 ms

Timeout (for the day):
Cur: 96.67 ms
 Avg: 10.09 ms
 Max: 100.00 ms

Last updated at Thu Nov 11 09:25:13 1999
=====================================================

The value for "Timeout" can only be 0 or 100 which is how I noticed
this problem.

I am using cricket 0.70 with rrdtool 1.07

--
Stephen Carville
Renaissance Geek
----------------------------------------------------
A well educated citizenry, being essential to the maintenance of a free
society, the right of the people, to keep and read books shall not be
infringed.

--------------------------- ONElist Sponsor ----------------------------

Independent contractors: Find your next project gig through JobSwarm! You can even make $$$ by referring friends. <a href=" http://clickme.onelist.com/ad/jobswarm2 ">Click Here</a>

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:06 PST