Newbie after installed problem

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
leiw
Posts: 12
Joined: Fri Dec 15, 2006 10:41 pm

Newbie after installed problem

Post by leiw »

Hi,

I'm new on Cacti, I completed the installation but cannot see any
picture in web interface, I don't know what packages I missing,
the following what I installed for Cacti:

net-snmp
php-snmp
freetype-devel
libpng-devel
libart_lgpl-devel
net-snmp-utils
gd
php-gd

I maybe forget some packages.


Thanks
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

rrdtool?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
leiw
Posts: 12
Joined: Fri Dec 15, 2006 10:41 pm

Post by leiw »

I also compiled rrdtool.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post a screenshot
Reinhard
leiw
Posts: 12
Joined: Fri Dec 15, 2006 10:41 pm

Post by leiw »

Please see the following picture about cannot display picture:

http://www.sfaeps.edu.hk/screen1.gif


Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please turn on "Graph DEBUG Mode" and post the rrdtool statement found
Reinhard
leiw
Posts: 12
Joined: Fri Dec 15, 2006 10:41 pm

Post by leiw »

How can I enable Graph DEBUG Mode ?


Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Goto Graph Management, select your graph and turn on the DEBUG mode by clicking the text in the upper right corner
Reinhard
leiw
Posts: 12
Joined: Fri Dec 15, 2006 10:41 pm

Post by leiw »

Please can you help me to explain what the debug mode said ?

RRDTool Command:

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Load Average" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--units-exponent=0 \
--vertical-label="processes in the run queue" \
DEF:a="/home/chris/public_html/cacti/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE \
DEF:b="/home/chris/public_html/cacti/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE \
DEF:c="/home/chris/public_html/cacti/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE \
CDEF:cdefg=TIME,1166804870,GT,a,a,UN,0,a,IF,IF,TIME,1166804870,GT,b,b,UN,0,b,IF,IF,TIME,1166804870,GT,c,c,UN,0,c,IF,IF,+,+ \
AREA:a#EACC00:"1 Minute Average" \
GPRINT:a:LAST:" Current\:%8.2lf\n" \
STACK:b#EA8F00:"5 Minute Average" \
GPRINT:b:LAST:" Current\:%8.2lf\n" \
STACK:c#FF0000:"15 Minute Average" \
GPRINT:c:LAST:"Current\:%8.2lf\n" \
LINE1:cdefg#000000:""
RRDTool Says:

sh: /usr/local/bin/rrdtool: is a directory
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You've got the wrong path to the rrdtool binary. Visit Settings -> Paths and eneter the /full/path/to/rrdtool/binary. And set Settings -> RRDTool Utility version to the version that's received when entering

Code: Select all

/full/path/to/rrdtool -v
at the command line
Reinhard
leiw
Posts: 12
Joined: Fri Dec 15, 2006 10:41 pm

Post by leiw »

Ok, I fixed the rrdtool path problem, but have another problem ...

when I click Graph Management > Localhost - Load Average > the

Graph Debug Mode said :

ERROR: opening '/home/chris/public_html/cacti/rra/localhost_load_1min_5.rrd': No such file or directory


How can I create the localhost_load_1min_5.rrd directory ??

Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

rrd files are created by the poller. Installation requires to edit the crontab to start the poller every 5 min. Please post a copy of your crontab to check
Reinhard
leiw
Posts: 12
Joined: Fri Dec 15, 2006 10:41 pm

Post by leiw »

To gandalf,

Thank you, I can see graphs now, one more question how can

setup monitor smtp, http, ftp etc network traffic ?


Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This question was already asked lots of times. You may search for ipfilter, ntop, flowscan to find some of them
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest