Muitas linhas de erro no relatório snmpwalk

1

Dispositivos: switch Cisco SG 300 / Ubuntu 14.04 LTS

quando eu corro um snmpwalk, recebo muitas linhas de erro antes dos dados solicitados reais.

Exemplo:

snmpwalk -v3 -u public 192.168.0.20 IF-MIB::ifHighSpeed


Unlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2 57 }
Undefined identifier: mib-2 near line 18 of /usr/share/mibs/ietf/IPATM-IPMC-MIB
Bad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU
Expected "::=" (RFC5644): At line 493 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Expected "{" (EOF): At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad object identifier: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad parse of OBJECT-IDENTITY: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Timestamp should end with Z (201010310000a): At line 16 in /usr/share/snmp/mibs/CISCOSBsysmng.mib
Timestamp should end with Z (201010310000a): At line 29 in /usr/share/snmp/mibs/CISCOSBsysmng.mib
Should be ACCESS ((): At line 575 in /usr/share/snmp/mibs/CISCOSBsnmp.mib
Bad parse of OBJECT-TYPE: At line 575 in /usr/share/snmp/mibs/CISCOSBsnmp.mib
IF-MIB::ifHighSpeed.49 = Gauge32: 100
IF-MIB::ifHighSpeed.50 = Gauge32: 1000
IF-MIB::ifHighSpeed.51 = Gauge32: 1000
IF-MIB::ifHighSpeed.52 = Gauge32: 1000
IF-MIB::ifHighSpeed.53 = Gauge32: 1000
IF-MIB::ifHighSpeed.54 = Gauge32: 1000
IF-MIB::ifHighSpeed.55 = Gauge32: 1000
IF-MIB::ifHighSpeed.56 = Gauge32: 1000
IF-MIB::ifHighSpeed.57 = Gauge32: 1000
IF-MIB::ifHighSpeed.58 = Gauge32: 1000
IF-MIB::ifHighSpeed.1000 = Gauge32: 0
IF-MIB::ifHighSpeed.1001 = Gauge32: 0
IF-MIB::ifHighSpeed.1002 = Gauge32: 0
IF-MIB::ifHighSpeed.1003 = Gauge32: 0
IF-MIB::ifHighSpeed.1004 = Gauge32: 0
IF-MIB::ifHighSpeed.1005 = Gauge32: 0
IF-MIB::ifHighSpeed.1006 = Gauge32: 0
IF-MIB::ifHighSpeed.1007 = Gauge32: 0
IF-MIB::ifHighSpeed.3000 = Gauge32: 0
IF-MIB::ifHighSpeed.7000 = Gauge32: 100
IF-MIB::ifHighSpeed.20000 = Gauge32: 0
IF-MIB::ifHighSpeed.100000 = Gauge32: 0
IF-MIB::ifHighSpeed.300000 = Gauge32: 0

Eu uso uma configuração muito simples:

sudo apt-get install snmp
sudo apt-get install snmp-mibs-downloader
sudo gedit /etc/snmp/snmp.conf
( I comment out the 'mibs :' line )
sudo download-mibs
( I download the device MIBs, extract it and CD in )
sudo cp -R * /usr/share/snmp/mibs/
sudo bash -c 'echo "mibs ALL" >> /etc/snmp/snmp.conf'

Por que obtenho todas essas linhas de erro? Se for casual e inevitável, existe uma maneira de tê-los ignorados no relatório? (snmpwalk -Pe não os ignorou, por exemplo: snmpwalk -Pe -v3 -u public 192.168.0.20 IF-MIB :: ifHighSpeed)

    
por networkIT 14.01.2015 / 13:30

0 respostas