Why it doesn't show me any graph???

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

Moderators: Developers, Moderators

Post Reply
Diana
Posts: 15
Joined: Wed May 14, 2008 9:46 pm
Contact:

Why it doesn't show me any graph???

Post by Diana »

i need help here.i already create device and the status showed that the thing is being graph. where should i go so that the graph would appear?
plz help me...thx
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

Add the device to a graph tree, then go to the graph tab to view the tree.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Diana
Posts: 15
Joined: Wed May 14, 2008 9:46 pm
Contact:

Post by Diana »

i did what u told me to do. but the result is the same. what u think had happen? which part should i alter? thx
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

Has any other device worked, or is this the first device you are adding?
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Diana
Posts: 15
Joined: Wed May 14, 2008 9:46 pm
Contact:

Post by Diana »

I do exactly like the example from the manual and the graph still doesn't appear. i would like to ask you. there is a CVS export icon and i don't no what is it. is it have anything to do with the no appearing graph? did i do any mistake while installing cacti?plz help me....thx
Diana
Posts: 15
Joined: Wed May 14, 2008 9:46 pm
Contact:

Post by Diana »

This is what appear. plz help.i really need help.thx

____________________________________________________________

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="test1 - Disk Space - /dev/sda1" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/cacti/rra/test1_hdd_free_16.rrd":hdd_used:AVERAGE \
DEF:b="/var/www/html/cacti/rra/test1_hdd_free_16.rrd":hdd_free:AVERAGE \
CDEF:cdefa=a,1024,* \
CDEF:cdefe=b,1024,* \
CDEF:cdefi=TIME,1211574233,GT,a,a,UN,0,a,IF,IF,TIME,1211574233,GT,b,b,UN,0,b,IF,IF,+,1024,* \
AREA:cdefa#F51D30FF:"Used" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefe#002A97FF:"Available":STACK \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefi#000000FF:"Total" \
GPRINT:cdefi:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:

ERROR: opening '/var/www/html/cacti/rra/test1_hdd_free_16.rrd': No such file or directory
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

I'm going to assume this is the first device you have configured.

Is the cronjob setup and running?

What is in the last few lines of the log file? (/var/www/html/cacti/log/cacti.log)
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests