Current time: 01-25-2022, 09:58 AM Hello There, Guest! (LoginRegister)


Post Reply 
Graphical Statistics whith RRD-tools
Author Message
sakal Offline
Junior Member
*

Posts: 42
Joined: Mar 2010
Reputation: 0
Post: #11
RE: Graphical Statistics whith RRD-tools
I just use some of Graphs and works greet !

thanks !!
04-19-2010 05:24 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #12
RE: Graphical Statistics whith RRD-tools
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
04-19-2010 07:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mata Offline
French Corner Moderator
*****
Moderators

Posts: 71
Joined: Feb 2007
Reputation: 0
Post: #13
RE: Graphical Statistics whith RRD-tools
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
05-04-2010 07:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #14
RE: Graphical Statistics whith RRD-tools
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.
(This post was last modified: 05-06-2010 09:05 AM by data-stream_ru.)
05-04-2010 01:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #15
RE: Graphical Statistics whith RRD-tools
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?
05-06-2010 09:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)