Canopy & MRTG / PRTG + SNMP.

Okay, a while back I wrote an SNMP accounting application to deal with the accounting data (upload & download) of users on our network…

The other day I installed mrtg, and started playing around with the log files… and importing them in to SQL databases to see what sort of results i could get.

Well it worked like a charm, but after a while I realized that we were monitoring the RF interface, not the LAN Interface of the Canopy modules.

Anyway, after changing the MRTG configuration file to ‘monitor’ the “Ethernet Interface Traffic” everything went to zero.

Does anyone have any ideas as to what the problem could be?
I’ve set SNMP to Read/Write access on the Canopy SM’s but still we get nothing…


### stephenson.sm:Ethernet Interface Traffic
Target[stephenson.sm-eth_int]:2:Canopy@stephenson.sm:::::2
Directory[stephenson.sm-eth_int]:stephenson.sm
MaxBytes[stephenson.sm-eth_int]:12500000
Title[stephenson.sm-eth_int]:Traffic Analysis for stephenson.sm - Ethernet Interface
PageTop[stephenson.sm-eth_int]:<H1><A Href=“http://stephenson.sm"target=”_blank">stephenson.sm - Ethernet Interface</A></H1>


### stephenson.sm:RF Interface Traffic
Target[stephenson.sm-rf_int]:1:Canopy@stephenson.sm:::::2
Directory[stephenson.sm-rf_int]:stephenson.sm
MaxBytes[stephenson.sm-rf_int]:12500000
Title[stephenson.sm-rf_int]:Traffic Analysis for stephenson.sm - RF Interface
PageTop[stephenson.sm-rf_int]:<H1><A Href=“http://stephenson.sm"target=”_blank">stephenson.sm - RF Interface</A></H1>


If you take a look @ the above section of the configuration file ^^^^^^^^ the “RF Interface Traffic” works fine, but the “Ethernet Interface Traffic” just gives back nothing… this is also the same with RSSI, and Jitter.


Any help would be greatly appreciated!
–Neddy.

First thing to check is whether or not you get back data using command line SNMP query tools. Make sure your queries are structured correctly. Obviously your RF queries are right, start with those and make sure you get real data back and then make the same change you’re making in your config files for MRTG and compare the results. It seems to me that the most likely solution from your description is that you are referencing an incorrect OID.


HTH

Some pieces of my mrtg.cfg if it helps

LoadMIBs: /usr/local/mrtg-2/mibs/SNMPv2-CONF.txt,/usr/local/mrtg-2/mibs/SNMPv2-SMI.txt,/usr/local/mrtg-2/mibs/SNMPv2-TC.txt,/usr/local$


### GAP BH RF ###

Target[10.0.0.10_1]: 1:canopySNMP@10.0.0.10:::::2
Directory[10.0.0.10_1]: BH-GAP
MaxBytes[10.0.0.10_1]: 1250000
Title[10.0.0.10_1]: Traffic Analysis 10.0.0.10 RF

### GAP BH Eth ###

Target[10.0.0.10_2]: 2:canopySNMP@10.0.0.10:::::2
Directory[10.0.0.10_2]: BH-GAP
MaxBytes[10.0.0.10_2]: 875000
Title[10.0.0.10_2]: Traffic Analysis 10.0.0.10 Ethernet


and for rssi/jitter

### GAP BH RSSI ###

Target[10.0.0.10-rssi]:rssi.0&rssi.0:canopySNMP@10.0.0.10:::::2
Directory[10.0.0.10-rssi]: BH-GAP
MaxBytes[10.0.0.10-rssi]:3000
Title[10.0.0.10-rssi]:RSSI Analysis for 10.0.0.10
Options[10.0.0.10-rssi]:gauge, nopercent, absolute
Unscaled[10.0.0.10-rssi]:dwmy
YLegend[10.0.0.10-rssi]:Rssi
LegendI[10.0.0.10-rssi]: RSSI:
LegendO[10.0.0.10-rssi]: RSSI:
ShortLegend[10.0.0.10-rssi]:Rssi
Legend1[10.0.0.10-rssi]:RSSI
Legend2[10.0.0.10-rssi]:RSSI

### GAP BH Jitter ###

Target[10.0.0.10-jitter]:jitter.0&jitter.0:canopySNMP@10.0.0.10:::::2
Directory[10.0.0.10-jitter]: BH-GAP
MaxBytes[10.0.0.10-jitter]:15
Title[10.0.0.10-jitter]:Jitter Analysis for 10.0.0.10
Options[10.0.0.10-jitter]:gauge, nopercent, absolute
Unscaled[10.0.0.10-jitter]:dwmy
YLegend[10.0.0.10-jitter]: Jitter
LegendI[10.0.0.10-jitter]: Jitter:
LegendO[10.0.0.10-jitter]: Jitter:
ShortLegend[10.0.0.10-jitter]:Jitter
Legend1[10.0.0.10-jitter]:Jitter
Legend2[10.0.0.10-jitter]:Jitter

[quote=“tlsarles”]Some pieces of my mrtg.cfg if it helps

LoadMIBs: /usr/local/mrtg-2/mibs/SNMPv2-CONF.txt,/usr/local/mrtg-2/mibs/SNMPv2-SMI.txt,/usr/local/mrtg-2/mibs/SNMPv2-TC.txt,/usr/local$


### GAP BH RF ###

Target[10.0.0.10_1]: 1:canopySNMP@10.0.0.10:::::2
Directory[10.0.0.10_1]: BH-GAP
MaxBytes[10.0.0.10_1]: 1250000
Title[10.0.0.10_1]: Traffic Analysis 10.0.0.10 RF

### GAP BH Eth ###

Target[10.0.0.10_2]: 2:canopySNMP@10.0.0.10:::::2
Directory[10.0.0.10_2]: BH-GAP
MaxBytes[10.0.0.10_2]: 875000
Title[10.0.0.10_2]: Traffic Analysis 10.0.0.10 Ethernet


Are you SURE that interface 1 is RF and 2 si Ethernet?
With an snmpwalk to 8.1.5.1 radios (AP, BH and SM) I get this:

IF-MIB::ifDescr.1 = STRING: Motorola 10/100 FEC
IF-MIB::ifDescr.2 = STRING: Canopy MultiPoint

Bye.

Id imagine your right on that, my bad.