help,help,help!!

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

Moderators: Developers, Moderators

Post Reply
congcong
Posts: 12
Joined: Sat Apr 08, 2006 10:16 pm

help,help,help!!

Post by congcong »

on Freebsd i install cacti and "Interface - Traffic""cpu" no have data??
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Ok, um....

So many questions...

Have you at least waited 2 polling cycles?
[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]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Do you see graphs? Do you have rrdtool installed? Is there graphs but no data is being collected?
[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]
congcong
Posts: 12
Joined: Sat Apr 08, 2006 10:16 pm

Post by congcong »

i wait a day,it no have data,

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1144466460 \
--end=1144552560 \
--title="Localhost - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2006/04/08 12:21:00 To 2006/04/09 12:16:00\c" \
COMMENT:" \n" \
--vertical-label="bytes per second" \
DEF:a="/usr/local/http2/htdocs/cacti/rra/localhost_traffic_in_26.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/http2/htdocs/cacti/rra/localhost_traffic_in_26.rrd":traffic_out:AVERAGE \
AREA:a#00CF00:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:b#002A97:"Outbound" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"


root@test0# ls /usr/local/http2/htdocs/cacti/rra/localhost_traffic_in_26.rrd
ls: /usr/local/http2/htdocs/cacti/rra/localhost_traffic_in_26.rrd: No such file or directory
congcong
Posts: 12
Joined: Sat Apr 08, 2006 10:16 pm

Post by congcong »

"load average " and "logined in users" have data in graphs.
congcong
Posts: 12
Joined: Sat Apr 08, 2006 10:16 pm

Post by congcong »

root@test0# cat /usr/local/http2/logs/error_log
ERROR: opening '/usr/local/http2/htdocs/cacti/rra/localhost_cpu_system_19.rrd': No such file or directory
ERROR: opening '/usr/local/http2/htdocs/cacti/rra/localhost_traffic_in_26.rrd': No such file or directory
ERROR: opening '/usr/local/http2/htdocs/cacti/rra/localhost_traffic_in_27.rrd': No such file or directory
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What Operating system?

RRDtool installed? Do you have your paths set correctly?

Do you have the poller running from cron every 5 minutes?
[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]
congcong
Posts: 12
Joined: Sat Apr 08, 2006 10:16 pm

Post by congcong »

What Operating system?

Freebsd 6.0

RRDtool installed? Do you have your paths set correctly?

RRDtool is install,path is correctly.

Do you have the poller running from cron every 5 minutes?

yes.
congcong
Posts: 12
Joined: Sat Apr 08, 2006 10:16 pm

Post by congcong »

in "/usr/local/http2/htdocs/cacti/rra/" directory no have "localhost_traffic_in_26.rrd" file.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please switch Settings->Logging Level to DEBUG for a SINGLE poller's run and post this snippet from log/cacti.log
Reinhard
congcong
Posts: 12
Joined: Sat Apr 08, 2006 10:16 pm

Post by congcong »

thank you very much!!
now ,it is ok!
because,my "Associated Data Queries" is not set.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest