Community discussions

MikroTik App
 
Beone
Trainer
Trainer
Topic Author
Posts: 250
Joined: Fri Feb 11, 2011 1:11 pm

RB751 & snmp (Cacti)

Thu Jan 26, 2012 8:46 am

Hi,

Anyone else having trouble with RB751 and snmp?
I 'm used to monitor my RB750GL's with cacti, which works fine. Now, when monitoring RB751U-2HnD all graphs stay empty.

Debug of for example ether1 (wan):

RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='stn249 - Traffic - ether1-wan' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/share/cacti/site/rra/61/3299.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/61/3299.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=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\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:" \n" \
HRULE:0#FF0000FF:"95th Percentile" \
COMMENT:"(0 mbit in+out)"

RRDTool Says:
OK

I say, NOK, values stay zero :-)
Any hints or comfirmation that snmp works correctly in RB751-2Hnd running RouterOs 5.6? (tried 5.11, same issue)

Many thx
B.
 
Beone
Trainer
Trainer
Topic Author
Posts: 250
Joined: Fri Feb 11, 2011 1:11 pm

Re: RB751 & snmp (Cacti)

Fri Jan 27, 2012 12:27 am

Solved, there were still old datasources configured on those hosts which gave an error.
Once I removed them, all worked fine.

kind regards,
B

Who is online

Users browsing this forum: Bing [Bot], kormenator, simtj and 159 guests