what is going on !!!RRDTool Says: i cannot view the images

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

Moderators: Developers, Moderators

Post Reply
debiankid
Posts: 1
Joined: Tue Feb 07, 2006 3:11 pm
Location: cuba
Contact:

what is going on !!!RRDTool Says: i cannot view the images

Post by debiankid »

[b]take a look to this

i dont know why he dont show me the images

its drive ing me krazy!!!

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Disk Space - /dev/hda5" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
DEF:a="/etc/httpd/htdocs/cacti/rra/localhost_hdd_free_15.rrd":hdd_used:AVERAGE \
DEF:b="/etc/httpd/htdocs/cacti/rra/localhost_hdd_free_15.rrd":hdd_free:AVERAGE \
CDEF:cdefa=a,1024,* \
CDEF:cdefe=b,1024,* \
CDEF:cdefi=TIME,1139350653,GT,a,a,UN,0,a,IF,IF,TIME,1139350653,GT,b,b,UN,0,b,IF,IF,+,1024,* \
AREA:cdefa#F51D30:"Used" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
STACK:cdefe#002A97:"Available" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefi#000000:"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 '/etc/httpd/htdocs/cacti/rra/localhost_hdd_free_15.rrd': No such file or directory
[/b]
kasuya
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The rrd file was not (yet) created. You may have to wait for 2 polling cycles to see data. But remember to follow the installation instructions at http://www.cacti.net/downloads/docs/htm ... _unix.html, with special regard to permissions and crontab.
Another issue may be the host status (see Devices List). If it is down, no polling and hence no rrd file creation is done. To cope with that, change downed host detection to "SNMP - Reliable" (only needed for pre-caacti-0.8.6h installations)
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests