Colin Dean wrote: > Colin Dean wrote: >> I'm attempting to set up SNMPd with net-snmp. The daemon is running, and >> I can hit it (using getif for Windows). >> >> However, I can't access any of the interface information, such as the >> ifDescr and >> .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifOutOctets >> and >> .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifInOctets >> that I really need. >> >> I'll bet that this has something to do with the proper MIBs not being >> loaded, as these are the MIBs loaded: >> >> The MIB module for SNMPv2 entities >> View-based Access Control Model for SNMP >> The SNMP Management Architecture MIB >> The MIB for Message Processing and Dispatching >> The management information definitions for the SNMP User-based security >> model >> >> When I look at the same thing when connected to my DD-WRT router, I see >> the first two, none of the others, and four others: >> >> The MIB module for managing TCP implementations >> The MIB module for managing UDP implementations >> The MIB module for managing IP and ICMP implementations >> The MIB module to describe generic object for network interface sub-layers >> >> Any idea what I could be doing wrong? I'm loading every MIB in >> /usr/share/snmp/mibs via the command line (snmpd -m $ALLMIBS -> $ALLMIBS >> contains a csv list of all the MIBs in the directory). > > Anyone have an idea? Or should I take this to the net-snmp list?
I did look a little closer, and found that the separator for -m is not a comma, but a colon. So, now I know that the MIBs are being loaded, because I introduced an error into a MIB and there was a message in /var/log/snmpd.log (fixed the error, though). Now, how do I get SNMPd to actually use them and make them available to be queried? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
