[rrd-users] rrdtool and irc
Psyk (Guillaume C.)
mailing-lists at ekynox.net
Mon Aug 16 15:44:38 MEST 2004
I explain my project: I'm a student, and I'm trying to realise a website
monitoring french speaking irc networks. A beta preview or what the site
will look like can be found at http://spider.ekynox.net/ (that's in french
The idea was to grab datas (I've programmed a PHP bot for that), and
generate graphs from the datas collected: count of users, channels, ircops
online and servers. The robot, as connecting on several networks, is
raisonably configured to connect only once an hour. From the real time datas
collected, I'd like it to send to rrdtools the instructions to generate
dayly, weekly, monthly and yearly graphs.
By now, I've tried so many tests I really don't think I'll be able to find a
solution on my own. My main probleme is about "steps", my bot collects datas
each hour, and I want rrdtool to accept those datas, and to generate the
graphs only using 1 value by hour.
Here are the last trys I did:
##### RRD FILE GENERATION
/usr/bin/rrdtool/bin/rrdtool create ./rrdtest/ekynox.rrd --step 1800
For that test, I tried to set the step to "1800" (connecting on my own
network) in order to make tests without having to wait an hour each time,
but the final goal is to set the step to one hour (3600 seconds).
##### RRD FILE UPDATE
/usr/bin/rrdtool/bin/rrdtool update ./rrdtest/ekynox.rrd N:14:77:14:6
##### RRD GRAPH COMPLETION (example for dayly graph)
/usr/bin/rrdtool/bin/rrdtool graph ../web/www/graphs/ekynox-day.png -a
PNG -h 200 -s -1day \
-v "eKySpider" -t "Graphique statistique du réseau ekynox (1 jour)" \
And sometimes the graphs are printing some wrong datas, sometimes nothing
( http://spider.ekynox.net/graphs/ekynox-day.png ).
If you have any idea, suggestion, it would be really really nice from you as
I really don't know how to solve my problem.
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