MRTG

Hello,

I’m trying to get MRTG setup to monitor canopy equipment. I’m having a problem creating a cfg file for any of my canopy devices.

when I run the cfgmaker I get an error message saying 'Check for HighspeedCounters faild … dropping back to V1" and anything generated in the cfg file is completely commented out.

Below is the command I’m running and the output. Any help would be really appreciated…

thanks,
Rebecca

C:'mrtg’mrtg’bin>perl cfgmaker AugustaBHM@172.16.10.1:::::2 --global “WorkDir: c
:'mrtg’wwwroot” --output bhm.cfg
–base: Get Device Info on AugustaBHM@172.16.10.1:::::2
–base: Vendor Id:
–base: Populating confcache
–snpo: confcache AugustaBHM@172.16.10.1:::::2 Descr Motorola PowerQUICC FEC -->
1
–snpo: confcache AugustaBHM@172.16.10.1:::::2 Descr Canopy Point to Point --> 2

–snpo: confcache AugustaBHM@172.16.10.1:::::2 Ip 127.0.0.1 --> 6
–snpo: confcache AugustaBHM@172.16.10.1:::::2 Ip 172.16.10.1 --> 1
–snpo: confcache AugustaBHM@172.16.10.1:::::2 Ip 192.168.101.1 --> 2
–snpo: confcache AugustaBHM@172.16.10.1:::::2 Name 1 --> 1
–snpo: confcache AugustaBHM@172.16.10.1:::::2 Name 2 --> 2
–snpo: confcache AugustaBHM@172.16.10.1:::::2 Type 6 --> 1
–snpo: confcache AugustaBHM@172.16.10.1:::::2 Type 6 --> 2 (duplicate)
–snpo: confcache AugustaBHM@172.16.10.1:::::2 Eth 0a-00-3e-f1-97-96 --> 1
–snpo: confcache AugustaBHM@172.16.10.1:::::2 Eth 1a-00-3e-f1-97-96 --> 2
–base: Get Interface Info
–base: Walking ifIndex
–base: Walking ifType
–base: Walking ifAdminStatus
–base: Walking ifOperStatus
–base: Walking ifHighSpeed
–base: snmpget AugustaBHM@172.16.10.1:::::2 for ifHighSpeed.1 -> 0 Mb/s
–base: snmpget AugustaBHM@172.16.10.1:::::2 for ifHCInOctets.1 -> 110210153
–base: check for HighspeedCounters faild … Droping back to V1
–base: snmpget AugustaBHM@172.16.10.1:::::2 for ifHighSpeed.2 -> 0 Mb/s
–base: snmpget AugustaBHM@172.16.10.1:::::2 for ifHCInOctets.2 -> 617437645
–base: check for HighspeedCounters faild … Droping back to V1
–base: snmpget AugustaBHM@172.16.10.1:::::2 for ifHighSpeed.6 -> Mb/s
–base: snmpget AugustaBHM@172.16.10.1:::::2 for ifHCInOctets.6 ->
–base: check for HighspeedCounters faild … Droping back to V1
–base: Writing bhm.cfg

this is what I use
cfgmaker --global “WorkDir: /home/mrtg/test” --global “Options[_]: growright” Canopy@169.254.1.1:::::2> mrtg.cfg

the :::::2 tells it to use snmp v2

Since you’re using unix, it’s of no help. I’m having the same issue and getting the same error. Let me know if you find anything

AP cfg:

### AP1:Ethernet Interface Traffic
Target[AP1-eth_int]:2:Canopy@AP1:::::2
Directory[AP1-eth_int]:AP1
MaxBytes[AP1-eth_int]:12500000
Title[AP1-eth_int]:Traffic Analysis for AP1- Ethernet Interface
PageTop[AP1-eth_int]:<H1><A Href=“http://AP1"target=”_blank">AP1 - Ethernet Interface</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Access Point</TD></TR>
<TR><TD>Max Speed:</TD> <TD>7.5 MBytes/s</TD></TR>
<TR><TD>Description:</TD> <TD>Access Point 1 at Flemmings</TD></TR>
</TABLE>

### AP1:RF Interface Traffic
Target[AP1-rf_int]:1:Canopy@AP1:::::2
Directory[AP1-rf_int]:AP1
MaxBytes[AP1-rf_int]:12500000
Title[AP1-rf_int]:Traffic Analysis for AP1 - RF Interface
PageTop[AP1-rf_int]:<H1><A Href=“http://AP1"target=”_blank">AP1 - RF Interface</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Access Point</TD></TR>
<TR><TD>Max Speed:</TD> <TD>7.5 MBytes/s</TD></TR>
<TR><TD>Description:</TD> <TD>Access Point 1 at Flemmings</TD></TR>
</TABLE>


### AP1 Link in and out Discards eth
Target[AP1_LinkDiscards_eth]: ifInDiscards.2&ifOutDiscards.2:Canopy@AP1:::::2
MaxBytes[AP1_LinkDiscards_eth]: 20
Directory[AP1_LinkDiscards_eth]: AP1
Title[AP1_LinkDiscards_eth]: Ethernet Link Discards for AP1
Options[AP1_LinkDiscards_eth]: gauge, nopercent, absolute
Unscaled[AP1_LinkDiscards_eth]: dwmy
YLegend[AP1_LinkDiscards_eth]: Discards
LegendI[AP1_LinkDiscards_eth]: Out
LegendO[AP1_LinkDiscards_eth]: In
ShortLegend[AP1_LinkDiscards_eth]: Discards
Legend1[AP1_LinkDiscards_eth]: Out Discards
Legend2[AP1_LinkDiscards_eth]: In Discards
PageTop[AP1_LinkDiscards_eth]: <H1><A Href=“http://AP1"target=”_blank">AP1 - Ethernet Link Discards</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Access Point</TD></TR>
<TR><TD>Max Speed:</TD> <TD>7.5 MBytes/s</TD></TR>
<TR><TD>Description:</TD> <TD>Access Point 1 at Flemmings</TD></TR>
</TABLE>

### AP1 Link in and out Errors eth
Target[AP1_LinkErrors_eth]: ifInErrors.2&ifOutErrors.2:Canopy@AP1:::::2
MaxBytes[AP1_LinkErrors_eth]: 20
Directory[AP1_LinkErrors_eth]: AP1
Title[AP1_LinkErrors_eth]: Ethernet Link Errors for AP1
Options[AP1_LinkErrors_eth]: gauge, nopercent, absolute
Unscaled[AP1_LinkErrors_eth]: dwmy
YLegend[AP1_LinkErrors_eth]: Errors
LegendI[AP1_LinkErrors_eth]: Out
LegendO[AP1_LinkErrors_eth]: In
ShortLegend[AP1_LinkErrors_eth]: Errors
Legend1[AP1_LinkErrors_eth]: Out Errors
Legend2[AP1_LinkErrors_eth]: In Errors
PageTop[AP1_LinkErrors_eth]: <H1><A Href=“http://AP1"target=”_blank">AP1 - Ethernet Link Errors</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Access Point</TD></TR>
<TR><TD>Max Speed:</TD> <TD>7.5 MBytes/s</TD></TR>
<TR><TD>Description:</TD> <TD>Access Point 1 at Flemmings</TD></TR>
</TABLE>

### AP1 Link in and out Discards rf
Target[AP1_LinkDiscards_rf]: ifInDiscards.1&ifOutDiscards.1:Canopy@AP1:::::2
MaxBytes[AP1_LinkDiscards_rf]: 20
Directory[AP1_LinkDiscards_rf]: AP1
Title[AP1_LinkDiscards_rf]: RF Link Discards for AP1
Options[AP1_LinkDiscards_rf]: gauge, nopercent, absolute
Unscaled[AP1_LinkDiscards_rf]: dwmy
YLegend[AP1_LinkDiscards_rf]: Discards
LegendI[AP1_LinkDiscards_rf]: Out
LegendO[AP1_LinkDiscards_rf]: In
ShortLegend[AP1_LinkDiscards_rf]: Discards
Legend1[AP1_LinkDiscards_rf]: Out Discards
Legend2[AP1_LinkDiscards_rf]: In Discards
PageTop[AP1_LinkDiscards_rf]: <H1><A Href=“http://AP1"target=”_blank">AP1 - RF Link Discards</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Access Point</TD></TR>
<TR><TD>Max Speed:</TD> <TD>7.5 MBytes/s</TD></TR>
<TR><TD>Description:</TD> <TD>Access Point 1 at Flemmings</TD></TR>
</TABLE>


### AP1Link in and out Errors rf
Target[AP1_LinkErrors_rf]: ifInErrors.1&ifOutErrors.1:Canopy@AP1:::::2
MaxBytes[AP1_LinkErrors_rf]: 20
Directory[AP1_LinkErrors_rf]: AP1
Title[AP1_LinkErrors_rf]: RF Link Errors for AP1
Options[AP1_LinkErrors_rf]: gauge, nopercent, absolute
Unscaled[AP1_LinkErrors_rf]: dwmy
YLegend[AP1_LinkErrors_rf]: Errors
LegendI[AP1_LinkErrors_rf]: Out
LegendO[AP1_LinkErrors_rf]: In
ShortLegend[AP1_LinkErrors_rf]: Errors
Legend1[AP1_LinkErrors_rf]: Out Errors
Legend2[AP1_LinkErrors_rf]: In Errors
PageTop[AP1_LinkErrors_rf]: <H1><A Href=“http://AP1"target=”_blank">AP1 RF Link Errors</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Access Point</TD></TR>
<TR><TD>Max Speed:</TD> <TD>7.5 MBytes/s</TD></TR>
<TR><TD>Description:</TD> <TD>Access Point 1 at Flemmings</TD></TR>
</TABLE>

---------------------------------------------

SM cfg:

############### < Device = SM 1 at Test Location > #######################################


### SM1:Ethernet Interface Traffic
Target[SM1-eth_int]:2:Canopy@SM1:::::2
Directory[SM1-eth_int]:SM1
MaxBytes[SM1-eth_int]:12500000
Title[SM1-eth_int]:Traffic Analysis for SM1 - Ethernet Interface
PageTop[SM1-eth_int]:<H1><A Href=“http://SM1"target=”_blank">SM1 - Ethernet Interface</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Canopy Subscriber Module</TD></TR>
<TR><TD>Max Speed:</TD> <TD>7.5 MBytes/s</TD></TR>
<TR><TD>Description:</TD> <TD>SM 1 at Someplace</TD></TR>
</TABLE>

### SM1:RF Interface Traffic
Target[SM1-rf_int]:1:Canopy@SM1:::::2
Directory[SM1-rf_int]:SM1
MaxBytes[SM1-rf_int]:12500000
Title[SM1-rf_int]:Traffic Analysis for SM1 - RF Interface
PageTop[SM1-rf_int]:<H1><A Href=“http://SM1"target=”_blank">SM1 - RF Interface</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Canopy Subscriber Module</TD></TR>
<TR><TD>Max Speed:</TD> <TD>7.5 MBytes/s</TD></TR>
<TR><TD>Description:</TD> <TD>SM 1 at Someplace</TD></TR>
</TABLE>

### SM1:Rssi
Target[SM1-rssi]:rssi.0&rssi.0:Canopy@SM1:::::2
MaxBytes[SM1-rssi]:3000
Directory[SM1-rssi]:SM1
Title[SM1-rssi]:RSSI Analysis for SM1
Options[SM1-rssi]:gauge, nopercent, absolute
Unscaled[SM1-rssi]:dwmy
YLegend[SM1-rssi]:Rssi
LegendI[SM1-rssi]: RSSI:
LegendO[SM1-rssi]: RSSI:
ShortLegend[SM1-rssi]:Rssi
Legend1[SM1-rssi]:RSSI
Legend2[SM1-rssi]:RSSI
PageTop[SM1-rssi]:<H1><A Href=“http://SM1"target=”_blank">SM1 - RSSI</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Canopy Subscriber Module</TD></TR>
<TR><TD>Max Speed:</TD> <TD>7.5 MBytes/s</TD></TR>
<TR><TD>Description:</TD> <TD>SM 1 at Someplace</TD></TR>
</TABLE>

### SM1:Jitter
Target[SM1-jitter]:jitter.0&jitter.0:Canopy@SM1:::::2
MaxBytes[SM1-jitter]:15
Directory[SM1-jitter]:SM1
Title[SM1-jitter]:Jitter Analysis for SM1
Options[SM1-jitter]:gauge, nopercent, absolute
Unscaled[SM1-jitter]:dwmy
YLegend[SM1-jitter]: Jitter
LegendI[SM1-jitter]: Jitter:
LegendO[SM1-jitter]: Jitter:
ShortLegend[SM1-jitter]:Jitter
Legend1[SM1-jitter]:Jitter
Legend2[SM1-jitter]:Jitter
PageTop[SM1-jitter]:<H1><A Href=“http://SM1"target=”_blank">SM1 - Jitter</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Canopy Subscriber Module</TD></TR>
<TR><TD>Max Speed:</TD> <TD>7.5 MBytes/s</TD></TR>
<TR><TD>Description:</TD> <TD>SM 1 at Someplace</TD></TR>
</TABLE>

----------------------------------------------

BH cfg:

############### < Device = Backhaul Slave at Vanastra > #######################################


### BH-Vanastra:Ethernet Interface Traffic
Target[BH-Vanastra-eth_int]:2:Canopy@BH-Vanastra:::::2
Directory[BH-Vanastra-eth_int]:BH-Vanastra
MaxBytes[BH-Vanastra-eth_int]:12500000
Title[BH-Vanastra-eth_int]:Traffic Analysis for BH-Vanastra - Ethernet Interface
PageTop[BH-Vanastra-eth_int]:<H1><A Href=“http://BH-Vanastra"target=”_blank">BH-Vanastra - Ethernet Interface</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Canopy Backhaul Slave</TD></TR>
<TR><TD>Description:</TD> <TD>Backhaul Slave at Vanastra CO</TD></TR>
</TABLE>

### BH-Vanastra:RF Interface Traffic
Target[BH-Vanastra-rf_int]:1:Canopy@BH-Vanastra:::::2
Directory[BH-Vanastra-rf_int]:BH-Vanastra
MaxBytes[BH-Vanastra-rf_int]:12500000
Title[BH-Vanastra-rf_int]:Traffic Analysis for BH-Vanastra - RF Interface
PageTop[BH-Vanastra-rf_int]:<H1><A Href=“http://BH-Vanastra"target=”_blank">BH-Vanastra - RF Interface</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Canopy Backhaul Slave</TD></TR>
<TR><TD>Description:</TD> <TD>Backhaul Slave at Vanastra CO</TD></TR>
</TABLE>

### BH-Vanastra:Rssi
Target[BH-Vanastra-rssi]:rssi.0&rssi.0:Canopy@BH-Vanastra:::::2
MaxBytes[BH-Vanastra-rssi]:3000
Directory[BH-Vanastra-rssi]:BH-Vanastra
Title[BH-Vanastra-rssi]:RSSI Analysis for BH-Vanastra
Options[BH-Vanastra-rssi]:gauge, nopercent, absolute
Unscaled[BH-Vanastra-rssi]:dwmy
YLegend[BH-Vanastra-rssi]:Rssi
LegendI[BH-Vanastra-rssi]: RSSI:
LegendO[BH-Vanastra-rssi]: RSSI:
ShortLegend[BH-Vanastra-rssi]:Rssi
Legend1[BH-Vanastra-rssi]:RSSI
Legend2[BH-Vanastra-rssi]:RSSI
PageTop[BH-Vanastra-rssi]:<H1><A Href=“http://BH-Vanastra"target=”_blank">BH-Vanastra - RSSI</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Canopy Backhaul Slave</TD></TR>
<TR><TD>Description:</TD> <TD>Backhaul Slave at Vanastra CO</TD></TR>
</TABLE>

### BH-Vanastra:Jitter
Target[BH-Vanastra-jitter]:jitter.0&jitter.0:Canopy@BH-Vanastra:::::2
MaxBytes[BH-Vanastra-jitter]:15
Directory[BH-Vanastra-jitter]:BH-Vanastra
Title[BH-Vanastra-jitter]:Jitter Analysis for BH-Vanastra
Options[BH-Vanastra-jitter]:gauge, nopercent, absolute
Unscaled[BH-Vanastra-jitter]:dwmy
YLegend[BH-Vanastra-jitter]: Jitter
LegendI[BH-Vanastra-jitter]: Jitter:
LegendO[BH-Vanastra-jitter]: Jitter:
ShortLegend[BH-Vanastra-jitter]:Jitter
Legend1[BH-Vanastra-jitter]:Jitter
Legend2[BH-Vanastra-jitter]:Jitter
PageTop[BH-Vanastra-jitter]:<H1><A Href=“http://BH-Vanastra"target=”_blank">BH-Vanastra - Jitter</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Canopy Backhaul Slave</TD></TR>
<TR><TD>Description:</TD> <TD>Backhaul Slave at Vanastra CO</TD></TR>
</TABLE>

---------------------------------------------------------



And then all the names are in my hosts file (AP1, BH-Vanastra, SM1, etc).


Fairly simply configs… I just use a web form to create them (enter the customer name and device name).


Hopefully that helps you a bit, but its not using cfgmaker. Also, all my configs are in one file (mrtg.cfg).

Oh my goodness :slight_smile: This actually works. Can someone Sticky this topic? I know I had to look all over to figure part of this stuff out! Thanks!

Here is an MRTG config which you can add to your AP sections. It will display how many SMs are registered to your AP:

### AP1RegCount
Target[AP1_sessions]: regCount.0&regCount.0:Canopy@AP1:::::2
Directory[AP1_sessions]: AP1
MaxBytes[AP1_sessions]: 20
Title[AP1_sessions]: Session Count for AP1
Options[AP1_sessions]: gauge, nopercent
Unscaled[AP1_sessions]: dwmy
YLegend[AP1_sessions]: Sessions
LegendI[AP1_sessions]: Total
LegendO[AP1_sessions]: Total
ShortLegend[AP1_sessions]: Sessions
Legend1[AP1_sessions]: Total Sessions
Legend2[AP1_sessions]: Total Sessions
PageTop[AP1_sessions]: <H1><A Href=“http://AP1"target=”_blank">AP1 Session Count</A></H1>
<TABLE>
<TR><TD>Device:</TD> <TD>Access Point</TD></TR>
<TR><TD>Max Speed:</TD> <TD>7.5 MBytes/s</TD></TR>
<TR><TD>Description:</TD> <TD>Access Point 1</TD></TR>
</TABLE>

------------------------------

It’s not the cleanest graph, as MRTG wants an in/out value, but it’ll do the job :wink:


I will be revamping our monitoring systems sometime in the near future. When I do, I will post all the configs, and perhaps some PHP scripts/db code for easy entry of customer data.

Thanks Pete! I was able to, with your config listing, get MRTG working with our equipment. I run a batch file that uses Windows XP’s scheduled task function to run the cfg files every 5 minutes. Just monitoring the data passing now, but may be monitoring more (rssi, jitter) in the future.

Have you found a good way to put all the graphs so that they’re easily accessible to read instead of going through the pages individually? I was going to put the images on one page, but I think an IFRAME of the page works better? How were you able to accomplish this? Would love to know! Thanks!

Chris OHara
Internet Network Administrator
Trilutions Internet and Computer Repair
www.trilutions.net