| Newsgroups |
gmane.network.cacti.user |
| Message-ID |
<[email protected]> |
Hello,
First of all, Cacti looks great, and I am eager to learn more, but I am
new, so excuse the terminology if not quite correct.
I have added several devices, one of which I am having trouble with. It is
a Draytek 2710vn ADSL router.
The Draytek Device shows us status Up with a correct hostname (IP). It
however is listed with only 1 data source. The Draytek device is listed as
a Generic SNMP host.
The Draytek supports:
Vigor Routers support MIB II. Please download the standard MIB II and
ADSL-LINE-MIB.
The items below are the ADSL-LINE-MIB that Vigor Routers support.
OID for supported ADSL LINE MIB
----------------------------------------------------------
1.3.6.1.2.1.10.94.1.1.1.1.1 adslLineCoding
1.3.6.1.2.1.10.94.1.1.1.1.2 adslLineType
1.3.6.1.2.1.10.94.1.1.1.1.3 adslLineSpecific
1.3.6.1.2.1.10.94.1.1.1.1.4 adslLineConfProfile
1.3.6.1.2.1.10.94.1.1.1.1.5 adslLineAlarmConfProfile
1.3.6.1.2.1.10.94.1.1.3.1.1 adslAturInvSerialNumber
1.3.6.1.2.1.10.94.1.1.3.1.2 adslAturInvVendorID
1.3.6.1.2.1.10.94.1.1.3.1.3 adslAturInvVersionNumber
1.3.6.1.2.1.10.94.1.1.3.1.4 adslAturCurrSnrMgn
1.3.6.1.2.1.10.94.1.1.3.1.5 adslAturCurrAtn
1.3.6.1.2.1.10.94.1.1.3.1.6 adslAturCurrStatus
1.3.6.1.2.1.10.94.1.1.3.1.7 adslAturCurrOutputPwr
1.3.6.1.2.1.10.94.1.1.3.1.8 adslAturCurrAttainableRate
1.3.6.1.2.1.10.94.1.1.5.1.1 adslAturChanInterleaveDelay
1.3.6.1.2.1.10.94.1.1.5.1.2 adslAturChanCurrTxRate
1.3.6.1.2.1.10.94.1.1.5.1.3 adslAturChanPrevTxRate
1.3.6.1.2.1.10.94.1.1.5.1.4 adslAturChanCrcBlockLength
I tried adding a 'one off' OID via 'Create Graph' and 'SNMP Generic OID
Template' then specifying, for example the adslAturCurrSnrMgn with
1.3.6.1.2.1.10.94.1.1.3.1.4 - and I added a leading "." to the OID number
but it didnt work.
The graph shows up but there is no data. Poller is set to 1 min and I
waited several!
Data Source Debug
/usr/bin/rrdtool create \
/var/lib/cacti/rra/draytek_gateway_snmp_oid_50.rrd \
--step 300 \
DS:snmp_oid:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Graph Debug:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Draytek Gateway - SNR Margin' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/draytek_gateway_snmp_oid_50.rrd":snmp_oid:AVERAGE
\
AREA:a#F5F800FF:"" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
OK
Any help on this would be gratefully received, and I have now discovered
since I have bene fiddling that all my graphs for all devices have stopped.
SOB!
Thanks in advance,
-Al
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev