I am really struggling to uptime for my Cisco Devices working. I HAVE trawled the site from top to bottom, and read literally all the articles I can find on it. I understand the roll-over issue, I understand the ticks instead of actual date output, but am still struggling. Seems no one else really is, and I can;t believe I am that stupid!
I have tried the hrsystemuptime_unix template, from cacti_graph_template_host_mib_-_hrsystemuptime_unix.xml, and this graphs, but I am plagued by the 496 Day roll-over issue, so my 1yr+ graph is only showing 124 days.
I have also messed around with the generic_uptime template from cacti_graph_template_generic_uptime.xml, but that is returning errors, and is not working.
Output from Graph Debug
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='ENG-CTN-R01 - Uptime' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='Days' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/233/531.rrd":uptime:LAST \
CDEF:cdefa=a,8640000,/ \
CDEF:cdefb=a,DUP,8640000,%,-,8640000,/ \
CDEF:cdefc=a,8640000,%,DUP,360000,%,-,360000,/ \
CDEF:cdefd=a,360000,%,DUP,6000,%,-,6000,/ \
AREA:cdefa#4668E4FF:"Uptime" \
GPRINT:cdefb:LAST:"Days \:%3.0lf" \
GPRINT:cdefc:LAST:"Hours \:%2.0lf" \
GPRINT:cdefd:LAST:"Minutes\:%2.0lf"
RRDTool Says:
ERROR: the RRD does not contain an RRA matching the chosen CF
Code: Select all
$ snmpwalk -v2c -c engen99 10.1.15.250 .1.3.6.1.2.1.1.3.0
iso.3.6.1.2.1.1.3.0 = Timeticks: (1072025379) 124 days, 1:50:53.79
$ snmpwalk -v2c -c engen99 10.1.15.250 .1.3.6.1.6.3.10.2.1.3
iso.3.6.1.6.3.10.2.1.3.0 = INTEGER: 53669953
$ snmpwalk -v2c -c engen99 10.1.15.250 .1.3.6.1.2.1.25.1.1.0
iso.3.6.1.2.1.25.1.1.0 = No Such Object available on this agent at this OID
Regards