Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Graph Template Errors/Discards

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
PBurch



Joined: 08 Oct 2008
Posts: 6

PostPosted: Fri Oct 10, 2008 9:53 am    Post subject: Graph Template Errors/Discards Reply with quote

I'm trying to graph the errors/discards on a router's interface, but no graph is displayed when I look at the graphs view. If I do a CSV export of the graph, I get the attached.

Any ideas?



ATL_RTR - Errors_Discards.xls
 Description:

Download
 Filename:  ATL_RTR - Errors_Discards.xls
 Filesize:  17.5 KB
 Downloaded:  17 Time(s)

Back to top
PBurch



Joined: 08 Oct 2008
Posts: 6

PostPosted: Fri Oct 10, 2008 10:27 am    Post subject: Reply with quote

If it helps, here is the debug for the graph:

Code:
RRDTool Command:

/usr/local/groundwork/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ATL_RTR - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
--font TITLE:8: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/usr/local/groundwork/apache2/htdocs/cacti/rra/atl_rtr_traffic_in_16.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/groundwork/apache2/htdocs/cacti/rra/atl_rtr_traffic_in_16.rrd":traffic_out:AVERAGE \
AREA:a#00CF00FF:"Inbound"  \
GPRINT:a:LAST:" Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total In\:  0 bytes\n"  \
LINE1:b#002A97FF:"Outbound"  \
GPRINT:b:LAST:"Current\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total Out\: 0 bytes"

RRDTool Says:

ERROR: opening '/usr/local/groundwork/apache2/htdocs/cacti/rra/atl_rtr_traffic_in_16.rrd': No such file or directory


I'm not sure why the rrd doesn't exist. Am I missing something?
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Sat Oct 11, 2008 2:05 am    Post subject: Reply with quote

Usually, downed host detection is the problem. Use "SNMP Only" for that host
Reinhard
Back to top
PBurch



Joined: 08 Oct 2008
Posts: 6

PostPosted: Sat Oct 11, 2008 11:36 am    Post subject: Reply with quote

Under "Downed Device Detection", SNMP is the selected choice.
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Sat Oct 11, 2008 2:45 pm    Post subject: Reply with quote

Ok. So please follow th 2nd link of my signature more more debugging
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group