[rrd-users] Graphing Data from win2k / RS-232 Serial Cable ??
reini at leox.net
Sat Apr 21 01:00:55 MEST 2001
I´ve been testing RRD-Tool a few days now, and I have to say: Wow ;-o
The folks here are mostly graphing Computer and Network-stuff from Routers,
Switches, or Unix or NT boxes...
But what about all the other data wich can be graphed over time, like
and all the other technical Stuff where we can get data from ?
E.g. Measurement-Instruments, Weather-Sensors, Telemetry., wich could
from Electrical current, power, pressure...
<The first Experiments>
My first experiments have been about some e-mail statistics over one year
a small example of a Mailserver-statistic can be seen here.
<The next step.>
The next step ahead is: collecting the data "automatically"..
but here is the end of my knowledge...
Luckily, i found an easy way to get experimental data on any W2K box:: The
So I added some perflog counter and got a (hmm, growing) csv-file like
"(PDH-CSV 4.0)","\\KISTE2000\Prozessor(_Total)\Prozessorzeit (%)"
so this has to be read and converted into a command like..
rrdtool update cpu.rrd 983942400:15,2
Altough I´m a complete greenhorn in Perl, the task will be:
-read the last line of the log file,
-convert the first value into unix time (seconds since 1/1/70),
-truncate/round the data to 2 decimals (optional, dependent on the data)
-send this (via perl) to rrdtool in order to update the .rrd
and later then:
-generating a customized picture (png) "on demand" by calling the rrdcgi
additional parameters to tell the rrdcgi wich .rrd to use and how to draw
Im sure, this small problem has been coded in perl many times,
so, why re-event the wheel.?.
Could you please give me some hints/tips to a "greenhorn" ?
(sounds like crying for .cfg files for this, OIDs for targeting with MRTG
<And now, the Challenge>..
There are many Technical Measurement-Instruments wirh a
"RS-232" Interface... so, why not obtaining data via "serial cable" ?
like Chris Snell does - with more or less continuity - at
and with the Weather-Stations at weathertools.com
Has someone done something like this before ? written scripts, tools ?
Or can you give me some hints, where to start, when listening to a "Serial
where are the "hurdles" wich are awaiting me ?
I´ll try to graph some "heat treatment-procedures" and i can imagine many
so, any hint will be greatly apreciated.
please, kick me a step towards the solution ;)
Dep. of Material Science,
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users