[RndTbl] Request for SNMP help
sean at ertw.com
Thu May 12 21:15:06 CDT 2011
Do you have any mibs installed? Usually in /usr/share/snmp/mibs. It sounds
like your system can't find the MIB files, or aren't using them.
The mib files are the rules that translate the name, such as system or
IP-MIB::ipAdEntIfIndex, to an OID like .22.214.171.124.1....
http://mibdepot.comis a great place to find mibs, but you should be
able to resolve system and
stuff under IP-MIB without any vendor specific mibs.
In your snmpwalk command, try adding -m ALL to load all mibs, or passing in
a directory with -M. It might be that you need to install the files.
Stracing the process (strace -e trace=file indexmaker ....) might give you
an idea of where it's looking for the mibs. Look for a file called
IP-MIB.txt, which is where ipAdEntIfIndex is defined.
All that said, unless you're going to graph a couple of items and never plan
to graph anything more, stay away from MRTG. Cacti is a lot friendlier.
On Thu, May 12, 2011 at 9:05 PM, Kevin McGregor
<kevin.a.mcgregor at gmail.com>wrote:
> I'm trying to set up SNMP and MRTG on my SheevaPlug computer, and I can't
> quite get it to work. I've followed the guides like
> http://www.debianhelp.co.uk/mrtg.htm and
> ...but the part that doesn't work is
> root at sheeva:/etc/snmp# indexmaker /etc/mrtg.cfg --columns=1 --output
> Use of uninitialized value $first in hash element at /usr/bin/indexmaker
> line 353.
> root at sheeva:/etc/snmp# snmpwalk -v 1 -c public localhost
> MIB search path:
> Cannot find module (IP-MIB): At line 0 in (none)
> IP-MIB::ipAdEntIfIndex: Unknown Object Identifier
> root at sheeva:/etc/snmp# snmpwalk -v 1 -c public localhost system
> system: Unknown Object Identifier (Sub-id not found: (top) -> system)
> Any suggestions?
> Roundtable mailing list
> Roundtable at muug.mb.ca
Sean Walberg <sean at ertw.com> http://ertw.com/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Roundtable