Problemi con mib di snmpd su debian

Rate this post

Cercando di estendere le funzionalità di snmpd mi è uscito seguente errore
[text]

MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (SNMP-FRAMEWORK-MIB): At line 9 in /usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB
Cannot find module (SNMPv2-SMI): At line 8 in /usr/share/mibs/netsnmp/NET-SNMP-MIB
Did not find ‘enterprises’ in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-MIB)
Unlinked OID in NET-SNMP-MIB: netSnmp ::= { enterprises 8072 }
Undefined identifier: enterprises near line 10 of /usr/share/mibs/netsnmp/NET-SNMP-MIB
Cannot find module (SNMPv2-TC): At line 21 in /usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB
Did not find ‘SnmpAdminString’ in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB)
Did not find ‘netSnmpObjects’ in module NET-SNMP-MIB (/usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB)
Did not find ‘netSnmpModuleIDs’ in module NET-SNMP-MIB (/usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB)
Did not find ‘netSnmpNotifications’ in module NET-SNMP-MIB (/usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB)
Did not find ‘netSnmpGroups’ in module NET-SNMP-MIB (/usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB)
Did not find ‘DisplayString’ in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB)
Did not find ‘RowStatus’ in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB)
Did not find ‘TruthValue’ in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB)
Unlinked OID in NET-SNMP-AGENT-MIB: nsAgentNotifyGroup ::= { netSnmpGroups 9 }
Undefined identifier: netSnmpGroups near line 545 of /usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsTransactionGroup ::= { netSnmpGroups 8 }
Undefined identifier: netSnmpGroups near line 536 of /usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsConfigGroups ::= { netSnmpGroups 7 }
Undefined identifier: netSnmpGroups near line 515 of /usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsCacheGroup ::= { netSnmpGroups 4 }
Undefined identifier: netSnmpGroups near line 505 of /usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsModuleGroup ::= { netSnmpGroups 2 }
[/text]

Cercando un po in giro ho trovato che questo errore è causato dal fatto che per motivi della licenza, i mib extra non sono più inclusi dentro il pacchetto standard di snmpd. Per risolvere questo problema basta lanciare seguente commando:
[text]
apt-get install snmp-mibs-downloader
[/text]

You may also like...

Lascia un Commento

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *

È possibile utilizzare questi tag ed attributi XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">