Importe new template. no graphic?

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

Moderators: Developers, Moderators

Post Reply
vietboy0
Posts: 6
Joined: Thu Aug 23, 2007 1:37 pm

Importe new template. no graphic?

Post by vietboy0 »

hi, i am kinda new with cacti. i download few template on this forum and i add them into my cacti. After dding it, i do not see any new graphic, i tried to add: new graphic, but i do not see the graphic in the scroll menu. Someone could help me or have an idea. Sorry for this newbie question
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please follow first link of my signatreu for some basic handling. You may skip the creation of templates.
Reinhard
vietboy0
Posts: 6
Joined: Thu Aug 23, 2007 1:37 pm

Post by vietboy0 »

the thing is in the associate graphic, i do not see the graphic i have imported. however i see the import template in the graphs template
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post screenshots to illustrate your problems
Reinhard
vietboy0
Posts: 6
Joined: Thu Aug 23, 2007 1:37 pm

Post by vietboy0 »

i succesful add the graphic but now but the graphic doesnt display. i got thid as debug:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="127.0.0.1 - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/home/cacti/rra/firewall_linux_videtron_traffic_in_26.rrd":traffic_in:AVERAGE \
DEF:b="/home/cacti/rra/firewall_linux_videtron_traffic_in_26.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"

RRDTool Says:

ERROR: opening '/home/cacti/rra/firewall_linux_videtron_traffic_in_26.rrd': No such file or directory
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This error message tells you either
- the poller is not running from crontab
- the poller has not run at least once
- the poller detects the target host as down
Surely, I have left out at lot more issues
Reinhard
vietboy0
Posts: 6
Joined: Thu Aug 23, 2007 1:37 pm

Post by vietboy0 »

my others graphics work.. so i guess its not the poller.php except if the poller is something different.. i also reload the poller with php /home/cacti/poller.php

i got this little message on my device: SNMP not in use

i dont know if it the cause of it. how to fix it?
Attachments
01.jpg
01.jpg (70 KiB) Viewed 1195 times
02.jpg
02.jpg (72.26 KiB) Viewed 1195 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

vietboy0 wrote:my others graphics work.. so i guess its not the poller.php except if the poller is something different.. i also reload the poller with php /home/cacti/poller.php

i got this little message on my device: SNMP not in use
You've accidentally omitted the community string
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests