<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;">Hello,</div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;"><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;">I've been using MRTG to graph the number of stations connected to various Ubiquiti access points. This was working quite well with no issues till apparently a new firmware broke MRTG functionality in some way that I can't identify. The working configuration:</div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;"><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;">"Target[192.168.1.1_stcount]: CnTWaLK1.<span class="Object" role="link" id="OBJ_PREFIX_DWT576_com_zimbra_phone"><a href="callto:3.6.1.4.1.14988.1.1.1" onclick="window.top.Com_Zimbra_Phone.unsetOnbeforeunload()" data-mce-href="callto:3.6.1.4.1.14988.1.1.1">3.6.1.4.1.14988.1.1.1</a></span>.2.1.3&CnTWaLK1.<span class="Object" role="link" id="OBJ_PREFIX_DWT577_com_zimbra_phone"><a href="callto:3.6.1.4.1.14988.1.1.1" onclick="window.top.Com_Zimbra_Phone.unsetOnbeforeunload()" data-mce-href="callto:3.6.1.4.1.14988.1.1.1">3.6.1.4.1.14988.1.1.1</a></span>.2.1.3:public@192.168.1.1 +0<br>WithPeak[192.168.1.1_stcount]: ymw<br>SetEnv[192.168.1.1_stcount]: MRTG_INT_IP="192.168.1.1" MRTG_INT_DESCR="stcount"<br>Options[192.168.1.1_stcount]: gauge,growright,nopercent,noi<br>Title[192.168.1.1_stcount]: The-Broken-Gauge<br>MaxBytes[192.168.1.1_stcount]: 256<br>XSize[192.168.1.1_stcount]: 600<br>YTics[192.168.1.1_stcount]: 1<br>YLegend[192.168.1.1_stcount]: Station Count<br>Legend2[192.168.1.1_stcount]: stcount<br>LegendO[192.168.1.1_stcount]:   stcount<br>ShortLegend[192.168.1.1_stcount]: STc<br>PageTop[192.168.1.1_stcount]: <h1>192.168.1.1 (stcount)</h1><br> <div id="sysdetails"><table><br> <tr><td>Nagios Name:</td><td>The-Broken-Gauge</td></tr><br> <tr><td>IP Address:</td><td>192.168.1.1</td></tr><br> <tr><td>Make & Model:</td><td>(NSM5) Ubiquiti Networks NanoStation M5</td></tr><br> <tr><td>MRTG Database ID:</td><td>548966</td></tr><br> <tr><td>MRTG Server:</td><td>Node <span class="Object" role="link" id="OBJ_PREFIX_DWT578_com_zimbra_phone"><a href="callto:45%20%2810.10.3.3" onclick="window.top.Com_Zimbra_Phone.unsetOnbeforeunload()" data-mce-href="callto:45%20%2810.10.3.3">45 (10.10.3.3</a></span>)</td></tr><br> <tr><td>Maintainer:</td><td><span class="Object" role="link" id="OBJ_PREFIX_DWT579_ZmEmailObjectHandler">noc@rhinobee.com</span></td></tr><br> <tr><td>Gauge Type:</td><td>stcount</td></tr><br> <tr><td>Gauge Name:</td><td>Station Count Graph</td></tr><br> </table></div>"</div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;"><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;">I'm aware (I think), that MRTG and snmpwalk use different libraries to manage the traffic. Hence, WaLK on a target line allows me to graph values otherwise unreadable/unreachable. This is the case with much of Ubiquiti equipment that is using a MIB from MikroTik (The OID above). I have two different versions of this gauge that support the two different MIBs that Ubiquiti uses, so I'm quite confident about my OIDs being correct. On the gauges that have issues a value of 0 is always received and graphed from the count walk. However, performing a snmpwalk still shows:<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;"><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;">"SNMPv2-SMI::enterprises.<span class="Object" role="link" id="OBJ_PREFIX_DWT580_com_zimbra_phone"><a href="callto:41112.1.4.5.1.5.1" onclick="window.top.Com_Zimbra_Phone.unsetOnbeforeunload()" data-mce-href="callto:41112.1.4.5.1.5.1">41112.1.4.5.1.5.1</a></span> = INTEGER: -58"<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;"><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;">A count walk should return a value of 1, but never does. I can't see that anything has changed in the configuration file, or even the output from snmpwalk. I'm at a loss on how to proceed diagnostically here and would like some assistance in debugging MRTG and/or logging better information to find a fix here. Everything seems like it should be working as normal....</div><br><br><div data-marker="__SIG_PRE__"><div style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;" data-mce-style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: tahoma, 'new york', times, serif; font-size: 12pt;" data-mce-style="font-family: tahoma, 'new york', times, serif; font-size: 12pt;">Sincerely,</span><br><br><span style="font-family: tahoma, 'new york', times, serif; font-size: 12pt;" data-mce-style="font-family: tahoma, 'new york', times, serif; font-size: 12pt;">Edwin A Epstein, III</span></div><div style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;" data-mce-style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Rhinobee Internet Services</div><div style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;" data-mce-style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div></div></div></div></body></html>