I'm gonna see if I can combine this with my current RRDGraph setup which displays my bandwidth. Let's see if I can add CPU load to it :-)
I do in cron section like this :
*/1 * * * * admin bash /tmp/harddisk/rrdstorm.sh update 3 4 5
*/12 * * * * admin bash /tmp/harddisk/rrdstorm.sh graph_cron s 3 4 5
0 */1 * * * admin bash /tmp/harddisk/rrdstorm.sh graph_cron h 3 4 5
3 */6 * * * admin bash /tmp/harddisk/rrdstorm.sh graph 3 4 5
So the only desired (cpu,hdd,wan) will be created, thus save the cpu power.
My skills on html is = 0, so i will live with this form ^^ .
Last edited by poiu; 31-07-2008 at 15:26.
I'm gonna see if I can combine this with my current RRDGraph setup which displays my bandwidth. Let's see if I can add CPU load to it :-)
After 1 hour test new settings the load drop from 20% with spikes to 100%, to 5% with spikes max 50%, so this the sweet spot for me .
The graphics look nice and ease to folow, but maybe on hdd i chose another colors, the red is omnipresent for me and hard to see the diferences wich is what.
Tanks you copacup again.
LE: the spikes go to 100% but the time is under 0,5 sec, before they last like 1 sec or more.
And to not forget, i have 128 ram, maybe this is important too ^^ .
Last edited by poiu; 31-07-2008 at 16:10.
Where I find (witch adresses) in web browser,
I have error on http://192.168.1.1:81/rrd/index.html
I have all files in dir /opt/wwwroot/rrd/hdd/,
but how open /opt/wwwroot/rrd/hdd/index.html in web browser.
all this command works fine..rrdstorm.sh create 0 1 3 4 5 6
.rrdstorm.sh update 0 1 3 4 5 6
.rrdstorm.sh graph 0 1 3 4 5 6
.rrdstorm.sh graph_cron s 0 1 3 4 5 6
Please help me.
artur, you need a web server (like lighttpd) pointing to that directory. Or you can share the dir with Samba and look at the html files with your browser from your PC.
A tip for everybody else. Updating the rrd databases takes little CPU, but generating the graphs takes a lot. So you could keep just the update commands in cron and generate the graphs only when you want to look at them.
Hi.
I tried to follow the RRDTOOL-guide by macsat.
But it doesn't work. Nothing happens.
I then tried to run the RRDTOOL-script manually, but it returns with an error: /opt/usr/bin/rrdtool.sh: 128: awk: not found
so it seems like I don't have awk.
How do I install this ?
http://xlife.zuavra.net/index.php/73/
It's a script to make life easier when using rrdtool...
It looks like a nice script, but I can't get it to run properly, I keep getting problems when using bash... anyone here running it without any problems?
Thanks in advance!
Yes i do for a year or more, and i remember some problems until everything work
ok.
If you do a search about everything is here on forum, but feel free to ask, i will help with i can .
Here : http://wl500g.info/showthread.php?t=...light=rrdstorm
Last edited by poiu; 09-06-2009 at 23:54.