ispCP - Board - Support
Graphical Statistics whith RRD-tools - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: Graphical Statistics whith RRD-tools (/thread-10184.html)

Pages: 1 2


RE: Graphical Statistics whith RRD-tools - sakal - 04-19-2010 05:24 PM

I just use some of Graphs and works greet !

thanks !!


RE: Graphical Statistics whith RRD-tools - BeNe - 04-19-2010 07:13 PM

Quote:Its OS independent.
Not really!
I tried your Script under FreeBSD and saw that you are used hardcoded Paths.
I must now change EVERY PATH in EVERY FILE Sad
Code:
...
RRDTOOL=/usr/bin/rrdtool
IMAGE_PATH=/var/www/ispcp/gui/stat/png/
SENSORS="/usr/bin/snmpwalk"
PSCMD="/bin/ps"
DATABASE=/var/www/ispcp/engine/rrd/bd/hdd_usage.rrd
...
*BSD uses an other structure than Linux for example.

Won´t it make more sense to use a class where you include all Paths ?
You set the paths in every engine file new an not a variable. You can use the ispcp.conf for it or you create your own Class for all Paths an Variables. So we all need only one file to edit.

You understand what i mean ?
Thanks for your great work.

Thanks & Greez
BeNe


RE: Graphical Statistics whith RRD-tools - mata - 05-04-2010 07:33 AM

yeah well on debian it works very good for admin but not for reseller

it shows nice stats after some manual labor Smile

i manually added reseller stats after some modifications so its possible

should be intergrated in ispcp

thx for the nice work


RE: Graphical Statistics whith RRD-tools - data-stream_ru - 05-04-2010 01:06 PM

I do not creat code for resellers area at thise time. Is it need?
BeNe, I do not use freeBDSM and I haven't poligons to test for this OS. It's Linux-OS independent.


RE: Graphical Statistics whith RRD-tools - data-stream_ru - 05-06-2010 09:03 AM

I have a one problem whith perl and rrd-tool.
Then I change default colors in sh scripts, its working OK.
But, if a traing to change def. colors and fonts in perl, i have a rrd-error.

See nginx-graph.pl,
lines -
# "-c BACK#2F2F2F",
# "-c CANVAS#003333",
# "-c SHADEA#CCCCCC",
# "-c SHADEB#CCCCCC",
# "-c FONT#FFFFFF",
# "-c AXIS#FFFFFF",
# "-c ARROW#FF0000",
# "-c GRID#CCCCCC",
# "-c MGRID#CCCCCC",

Any help?