ePMP MRTG Help

Hi all,

Currently we are using mrtg to graphs RRSI,Data usage,Latency and color code for our cambium SMs like 450 and FSK, and mrtg is graphing all data perfectly.

Now we want mrtg to graph same objects for ePMP SMs as well but having some difficulties, can somebody please expliain how can i do that and what MIB files and OIDs i need to use.

 my current configs are as following, these configs are only printing Latency graph other 3 not printing.

#Color Code
Target[10.10.7.53colorcode]: 1.3.6.1.4.1.161.19.3.2.2.65.0&1.3.6.1.4.1.161.19.3.2.2.65.0:Canopy@10.10.7.53:161::::2
Directory[10.10.7.53colorcode]: 10.10.7.53
MaxBytes[10.10.7.53colorcode]: 125000
Title[10.10.7.53colorcode]: Color Code
PageTop[10.10.7.53colorcode]:<H1>Color Code For 10.10.7.53</H1>
Options[10.10.7.53colorcode]: gauge, growright, expscale


#Radio Signal Strength IndexFor 10.10.7.53
Target[10.10.7.53RSSI]:radioDbm.0&radioDbm.0:Canopy@10.10.7.53:161::::2|string2int
Directory[10.10.7.53RSSI]: 10.10.7.53
MaxBytes[10.10.7.53RSSI]: 125000
Title[10.10.7.53RSSI]:Radio Signal Strength Index For10.10.7.53
PageTop[10.10.7.53RSSI]:<H1>Radio Signal Strength Index</H1>
Factor[10.10.7.53RSSI]: -1
Options[10.10.7.53RSSI]: gauge, growright, 
YLegend[10.10.7.53RSSI]: -Decibels
ShortLegend[10.10.7.53RSSI]: &nbsp;
LegendI[10.10.7.53RSSI]: &nbsp;In:
LegendO[10.10.7.53RSSI]: &nbsp;Out:
Legend1[10.10.7.53RSSI]: In
Legend2[10.10.7.53RSSI]: Out

I configured epmp with mrtg/snmp by using the cfgmaker (after verifying with snmpwalk) to do:

cfgmaker name@1.2.3.4 >> /etc/mrtg.cfg

then edited out the exteraneous garbage in the generated file to come up with something like:

Target[1.2.3.4_2]: 2:name@1.2.3.4:
SetEnv[1.2.3.4_2]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="WLAN-interface"
MaxBytes[1.2.3.4_2]: 12500000
Title[1.2.3.4_2]: sometitle
PageTop[1.2.3.4_2]: <h1>sometitle</h1>
		<div id="sysdetails">
			<table>
				<tr>
					<td>System:</td>
					<td>CambiumNetworks in undefined</td>
				</tr>
				<tr>
					<td>Maintainer:</td>
					<td>undefined</td>
				</tr>
				<tr>
					<td>Description:</td>
					<td>WLAN-interface  </td>
				</tr>
				<tr>
					<td>ifType:</td>
					<td>Radio Spread Spectrum (802.11) (71)</td>
				</tr>
				<tr>
					<td>ifName:</td>
					<td>WLAN interface</td>
				</tr>
				<tr>
					<td>Max Speed:</td>
					<td>1250.0 kBytes/s</td>
				</tr>
				<tr>
					<td>Ip:</td>
					<td>No Ip (No DNS name)</td>
				</tr>
			</table>
		</div>

It's worth noting that because of (probably) a firmware bug, you have to add an extra zero to the MaxBytes line, so make it look like:

MaxBytes[1.2.3.4_2]: 12500000

I would also be interested in knowing what other OID's other people are using. Here's an snmpwalk of an epmp:

snmpwalk -v 1 -c name 1.2.3.4
iso.3.6.1.2.1.1.1.0 = STRING: "sometitle"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.17713.21
iso.3.6.1.2.1.1.3.0 = Timeticks: (19377598) 2 days, 5:49:35.98
iso.3.6.1.2.1.1.4.0 = STRING: "undefined"
iso.3.6.1.2.1.1.5.0 = STRING: "sometitle"
iso.3.6.1.2.1.1.6.0 = STRING: "undefined"
iso.3.6.1.2.1.1.7.0 = INTEGER: 78
iso.3.6.1.2.1.1.8.0 = Timeticks: (428) 0:00:04.28
iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.16.2.2.1
iso.3.6.1.2.1.1.9.1.3.1 = STRING: "View-based Access Control Model for SNMP."
iso.3.6.1.2.1.1.9.1.4.1 = Timeticks: (428) 0:00:04.28
iso.3.6.1.2.1.2.1.0 = INTEGER: 2
iso.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2
iso.3.6.1.2.1.2.2.1.2.1 = STRING: "LAN interface 1"
iso.3.6.1.2.1.2.2.1.2.2 = STRING: "WLAN interface"
iso.3.6.1.2.1.2.2.1.3.1 = INTEGER: 6
iso.3.6.1.2.1.2.2.1.3.2 = INTEGER: 71
iso.3.6.1.2.1.2.2.1.4.1 = INTEGER: 1500
iso.3.6.1.2.1.2.2.1.4.2 = INTEGER: 1708
iso.3.6.1.2.1.2.2.1.5.1 = Gauge32: 10000000
iso.3.6.1.2.1.2.2.1.5.2 = Gauge32: 10000000
iso.3.6.1.2.1.2.2.1.6.1 = Hex-STRING: 00 04 56 CE 70 C7 
iso.3.6.1.2.1.2.2.1.6.2 = Hex-STRING: 00 04 56 CE 70 C8 
iso.3.6.1.2.1.2.2.1.7.1 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.7.2 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.8.1 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.8.2 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.9.1 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.2.2.1.9.2 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.2.2.1.10.1 = Counter32: 3561940747
iso.3.6.1.2.1.2.2.1.10.2 = Counter32: 351617232
iso.3.6.1.2.1.2.2.1.11.1 = Counter32: 556724964
iso.3.6.1.2.1.2.2.1.11.2 = Counter32: 383814820
iso.3.6.1.2.1.2.2.1.12.1 = Counter32: 2443180
iso.3.6.1.2.1.2.2.1.12.2 = Counter32: 539319
iso.3.6.1.2.1.2.2.1.13.1 = Counter32: 0
iso.3.6.1.2.1.2.2.1.13.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.14.1 = Counter32: 0
iso.3.6.1.2.1.2.2.1.14.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.15.1 = Counter32: 0
iso.3.6.1.2.1.2.2.1.15.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.16.1 = Counter32: 2674429842
iso.3.6.1.2.1.2.2.1.16.2 = Counter32: 4245772030
iso.3.6.1.2.1.2.2.1.17.1 = Counter32: 383801124
iso.3.6.1.2.1.2.2.1.17.2 = Counter32: 589827523
iso.3.6.1.2.1.2.2.1.18.1 = Counter32: 539366
iso.3.6.1.2.1.2.2.1.18.2 = Counter32: 2980691
iso.3.6.1.2.1.2.2.1.19.1 = Counter32: 0
iso.3.6.1.2.1.2.2.1.19.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.20.1 = Counter32: 0
iso.3.6.1.2.1.2.2.1.20.2 = Counter32: 430498
iso.3.6.1.2.1.2.2.1.21.1 = Gauge32: 0
iso.3.6.1.2.1.2.2.1.21.2 = Gauge32: 0
iso.3.6.1.2.1.2.2.1.22.1 = OID: ccitt.0
iso.3.6.1.2.1.2.2.1.22.2 = OID: ccitt.0
iso.3.6.1.2.1.31.1.1.1.1.1 = STRING: "LAN interface 1"
iso.3.6.1.2.1.31.1.1.1.1.2 = STRING: "WLAN interface"
iso.3.6.1.2.1.31.1.1.1.2.1 = Counter32: 813345
iso.3.6.1.2.1.31.1.1.1.2.2 = Counter32: 513546
iso.3.6.1.2.1.31.1.1.1.3.1 = Counter32: 1629835
iso.3.6.1.2.1.31.1.1.1.3.2 = Counter32: 25773
iso.3.6.1.2.1.31.1.1.1.4.1 = Counter32: 513546
iso.3.6.1.2.1.31.1.1.1.4.2 = Counter32: 1326710
iso.3.6.1.2.1.31.1.1.1.5.1 = Counter32: 25820
iso.3.6.1.2.1.31.1.1.1.5.2 = Counter32: 1653981
iso.3.6.1.2.1.31.1.1.1.15.1 = Gauge32: 10
iso.3.6.1.2.1.31.1.1.1.15.2 = Gauge32: 10
iso.3.6.1.2.1.31.1.1.1.16.1 = INTEGER: 2
iso.3.6.1.2.1.31.1.1.1.16.2 = INTEGER: 2
iso.3.6.1.2.1.31.1.1.1.17.1 = INTEGER: 1
iso.3.6.1.2.1.31.1.1.1.17.2 = INTEGER: 1
iso.3.6.1.2.1.31.1.1.1.18.1 = ""
iso.3.6.1.2.1.31.1.1.1.18.2 = ""
iso.3.6.1.2.1.31.1.1.1.19.1 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.31.1.1.1.19.2 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.31.1.5.0 = Timeticks: (0) 0:00:00.00

but I haven't taken time to add the extra bits to my .cfg file just yet.

1 Like

thanks for your explaination, i never dealt with snmpwalk and i tried creating config files using configmaker but did not got my results beacause i have 2300 device for mrtg to print graphs, so then i used seperate config files for each device using "Include" command, and it's working fine for cambium 450's.

I think i am not using right OID and MIB files for ePMP.