Quantcast
Channel: All EdgeRouter posts
Viewing all articles
Browse latest Browse all 60861

Re: SNMP monitoring - counter update frequency and value wrapping

$
0
0

Definately using SNMP v2:

def getSNMPVal(OID):
    session = netsnmp.Session( DestHost=snmpTarget, Version=2, Community=snmpCommunity )
    vars = netsnmp.VarList( netsnmp.Varbind(OID) )
    debugLog(str(session.get(vars)))
    valueTuple = session.get(vars)
    value = valueTuple[0]
    return value

I tried disabling offload using the instructions here (https://help.ubnt.com/hc/en-us/articles/205204070-EdgeMAX-How-do-I-disable-IP-offload-for-hardware-acceleration-) and it made no difference:

 

Debug: ('3491873309',)
Debug: ('3527910116',)
Debug: ifInOctets Value 1 is: 3491873309 and ifInOctets Value 2 is: 3527910116
Debug: Delta in ifInOctets is: 36036807
Debug: Inbound Usage Percentage is: 221.0
Debug: ----
Debug: ('3527910116',)
Debug: ('3527910116',)
Debug: ifInOctets Value 1 is: 3527910116 and ifInOctets Value 2 is: 3527910116
Debug: Delta in ifInOctets is: 0
Debug: Inbound Usage Percentage is: 0.0
Debug: ----
Debug: ('3527910116',)
Debug: ('3527910116',)
Debug: ifInOctets Value 1 is: 3527910116 and ifInOctets Value 2 is: 3527910116
Debug: Delta in ifInOctets is: 0
Debug: Inbound Usage Percentage is: 0.0
Debug: ----
Debug: ('3527910116',)
Debug: ('3564950798',)
Debug: ifInOctets Value 1 is: 3527910116 and ifInOctets Value 2 is: 3564950798
Debug: Delta in ifInOctets is: 37040682
Debug: Inbound Usage Percentage is: 226.0
Debug: ----
Debug: ('3564950798',)
Debug: ('3564950798',)
Debug: ifInOctets Value 1 is: 3564950798 and ifInOctets Value 2 is: 3564950798
Debug: Delta in ifInOctets is: 0
Debug: Inbound Usage Percentage is: 0.0
Debug: ----
Debug: ('3564950798',)
Debug: ('3601865094',)
Debug: ifInOctets Value 1 is: 3564950798 and ifInOctets Value 2 is: 3601865094
Debug: Delta in ifInOctets is: 36914296
Debug: Inbound Usage Percentage is: 206.0
Debug: ----

 

Still looking for answers... 


Viewing all articles
Browse latest Browse all 60861

Trending Articles