Cannot find module (IP-MIB)

routermech

16-02-2006 09:11:02

I just installed Netmrg, I get this error when I run netmrg-gatherer -sm. I have Cacti on this machine and it runs fine and is pulling 50 nodes and graphing to rrd.

Can someone point me in the correct direction... -->

rhes3
MySQL -4.0.20-0
php-4.3.2-8.ent
RRDtool 1.0.33


/usr/local/bin/netmrg-gatherer -sm
NetMRG starting.
Creating Lockfile.
Initializing SNMP library.
No log handling enabled - turning on stderr logging
Cannot find module (IP-MIB) At line 0 in (none)
Cannot find module (IF-MIB) At line 0 in (none)
Cannot find module (TCP-MIB) At line 0 in (none)
Cannot find module (UDP-MIB) At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB) At line 0 in (none)
Cannot find module (SNMPv2-MIB) At line 0 in (none)
Cannot find module (SNMPv2-SMI) At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB) At line 0 in (none)
Cannot find module (UCD-SNMP-MIB) At line 0 in (none)
Cannot find module (UCD-DEMO-MIB) At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB) At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB) At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB) At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB) At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB) At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB) At line 0 in (none)
Cannot find module (SNMP-MPD-MIB) At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB) At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB) At line 0 in (none)
Cannot find module (SNMPv2-TM) At line 0 in (none)
Initializing RRDTOOL pipe.
Closed MySQL connection.
Runtime 0
Closed RRDTOOL pipe.
Cleaned up SNMP.

Thanks
Mike

silfreed

16-02-2006 09:38:16

Do you have the net-snmp package installed?

-Doug

routermech

16-02-2006 10:27:49

Yes I do.. Cacti is using it to graph 50+ nodes on the Box. Motorola Canopy radios....

net-snmp-5.0.8-11

Thanks for the super fast responce!!!

-Mike

silfreed

16-02-2006 11:00:28

This seems like a problem with your SNMP installation. NetMRG uses standard net-snmp API calls to do all it's lookup - it looks like these are errors from the net-snmp API about not finding the MIBs, not from NetMRG.
Did you at any point have multiple versions of net-snmp installed (maybe in /usr/local)? Perhaps NetMRG found one of those when you compiled it and linked against it instead.
You should also look in your /etc/snmp/snmp.conf (not snmpd.conf) to see if you're referencing MIBs from there.
Maybe try to use one of the RPMs - I wouldn't be surprised if the RHEL4 RPM worked, or maybe the RH9. If neither of those do, we should get a RHEL3 RPM built for you.
What version of NetMRG did you install?

-Doug