From: Zebee Johnstone <zebee@cse.unsw.edu.au>
I wish to graph the use of modems.
The only way I can get the info I need is via a program that runs
on a machine that is not the one I have cricket on, so it writes to
a file.
Problem - weird numbers. I suspect this is some units/averaging/other
thing I'm not setting.
Log output:
[21-Jul-1999 16:45:02 ] Reading data from /home/stat/services/ModemData for modemserver
[21-Jul-1999 16:45:02 ] Retrieved data for modemserver (): 13,30
[21-Jul-1999 16:45:02 ] Processed 7 targets in 2 seconds.
13 and 30 are the numbers I want. First is staff, 2nd is students.
The numbers on the graph though...
Staff: 14220473.37 Modems
Students: 14220473.37 Modems
Methinks I have some overflow or other oddity error?
The cricket-config/Defaults file is the one that came with
The Defaults file for the graph in question is:
Target --default--
rrd-datafile = %dataDir%/%auto-target-name%.rrd
target-type = ModemServer
dataSource ModemStaff
ds-source = file:0:/home/stat/services/ModemData
rr-ds-type = GAUGE
dataSource ModemStudent
ds-source = file:1:/home/stat/services/ModemData
rr-ds-type = GAUGE
targetType ModemServer
ds = "ModemStaff, ModemStudent"
graph ModemStaff
color = blue
draw-as = LINE1
legend = "Staff"
y-axis = "Modems"
units = "Modems"
si-units = false
graph ModemStudent
color = red
draw-as = LINE1
legend = "Students"
y-axis = "Modems"
units = "Modems"
si-units = false
--------------------------- ONElist Sponsor ----------------------------
Create a list for FRIENDS & FAMILY...
http://www.onelist.com
....and you can WIN $100 to Amazon.com. See homepage for details.
------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:58 PST