Hi all,
I have added a device which is not a supported device ( Netgate TNSR device, similar in some respects to pfSense ), and on the Interface Statistics it shows no data around traffic.
Interestingly if i go to real time, it collects this absolutely fine.
If i do an snmpwalk from our LibreNMS box, it collects the following interface metrics
snmpwalk -v2c -c xxxxx xxxxxx
IF-MIB::ifNumber.0 = INTEGER: 4
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifDescr.1 = STRING: LAN
IF-MIB::ifDescr.2 = STRING: WAN
IF-MIB::ifDescr.3 = STRING: tap1
IF-MIB::ifDescr.4 = STRING: tap2
IF-MIB::ifMtu.1 = INTEGER: 9206
IF-MIB::ifMtu.2 = INTEGER: 9206
IF-MIB::ifMtu.3 = INTEGER: 9216
IF-MIB::ifMtu.4 = INTEGER: 9216
IF-MIB::ifPhysAddress.1 = STRING: 3c:ec:ef:3d:a9:4
IF-MIB::ifPhysAddress.2 = STRING: 0:e0:ed:88:5e:c8
IF-MIB::ifPhysAddress.3 = STRING: 2:fe:a3:e1:36:e8
IF-MIB::ifPhysAddress.4 = STRING: 2:fe:5a:5e:5c:5
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifAdminStatus.3 = INTEGER: up(1)
IF-MIB::ifAdminStatus.4 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: up(1)
IF-MIB::ifOperStatus.4 = INTEGER: up(1)
IF-MIB::ifInOctets.1 = Counter32: 1318750161
IF-MIB::ifInOctets.2 = Counter32: 527414989
IF-MIB::ifInOctets.3 = Counter32: 828698511
IF-MIB::ifInOctets.4 = Counter32: 676567431
IF-MIB::ifOutOctets.1 = Counter32: 3019869449
IF-MIB::ifOutOctets.2 = Counter32: 1131547945
IF-MIB::ifOutOctets.3 = Counter32: 100102137
IF-MIB::ifOutOctets.4 = Counter32: 579473725
But when running the poller it doesnt seem to collect the data
./poller.php -h xxxxxxxx -d
Port WAN: WAN (2 / #736249) ifInOctets
ifOutOctets
ifInUcastPkts
ifOutUcastPkts
ifInBroadcastPkts
ifOutBroadcastPkts
ifInMulticastPkts
ifOutMulticastPkts
ifSpeed
VLAN = Using ifDescr as ifAlias
Using ifDescr as ifName
WAN
ifInOctets (0 B) 0 Bps 47 secs
ifOutOctets (0 B) 0 Bps 47 secs
ifInErrors (0 B) 0 Bps 47 secs
ifOutErrors (0 B) 0 Bps 47 secs
ifInUcastPkts (0 B) 0 Bps 47 secs
ifOutUcastPkts (0 B) 0 Bps 47 secs
ifInNUcastPkts (0 B) 0 Bps 47 secs
ifOutNUcastPkts (0 B) 0 Bps 47 secs
ifInDiscards (0 B) 0 Bps 47 secs
ifOutDiscards (0 B) 0 Bps 47 secs
ifInUnknownProtos (0 B) 0 Bps 47 secs
ifInBroadcastPkts (0 B) 0 Bps 47 secs
ifOutBroadcastPkts (0 B) 0 Bps 47 secs
ifInMulticastPkts (0 B) 0 Bps 47 secs
ifOutMulticastPkts (0 B) 0 Bps 47 secs
Any pointers as to where / what i am missing would be greatly appreciated.