I can add graphs and collect snmp data for CPU and Memory with no problem. When I try to add snmp interface statistics, it can never create the .rrd file. Now note, when I look in Data Input Queries, I can not see Get SNMP Data ( indexed ) anywhere...
I ran debug graph on a device which I monitored for cpu...memory....and interface statistics...
-------------------------------------------------------------------------------------
CPU
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="mpls - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/mpls_5min_cpu_88.rrd":5min_cpu:AVERAGE \
DEF:b="/var/www/html/rra/mpls_5min_cpu_88.rrd":5min_cpu:LAST \
DEF:c="/var/www/html/rra/mpls_5min_cpu_88.rrd":5min_cpu:MIN \
DEF:d="/var/www/html/rra/mpls_5min_cpu_88.rrd":5min_cpu:MAX \
AREA:a#FFAB00FF:"CPU Usage" \
GPRINT
GPRINT
GPRINT:d:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"\n" \
COMMENT:"Last Updated \: Mon 10 Nov 14\:10\:02 CST 2008"
RRDTool Says:
OK
-------------------------------------------------------------------------------------
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="mpls - Traffic - Fa0/1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/mpls_traffic_in_86.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/rra/mpls_traffic_in_86.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00FF:"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#002A97FF:"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 '/var/www/html/rra/mpls_traffic_in_86.rrd': No such file or direct
-------------------------------------------------------------------------------------