Category ArchiveCacti
Cacti &Hacks &MRTG &Network Monitoring &Networking (General) &Scripting &Servers &SNMP Jl. on 21 Dec 2009
Cacti: Poller complains about no mib modules
Installed cacti from the “easy” installer – http://forums.cacti.net/about14946-0-asc-0.html – which does simplify a lot, but there are a lot of other hacks i’ve had to implement to make it work.
First and foremost, any time the poller runs i was getting “Cannot find module (IP-MIB): At line 0 in (none)”
Repeat about a dozen times for various mibs, and you obviously have a problem.
Under System Properties, Advanced, Environment Variables, there’s a new variable called MIBDIRS . It’s pointed to c:\php\extras\mibs which in my case, after running the installer, was empty.
TO FIX: Either update this to point to your actual mib directory (mine was c:\usr\mibs , i’ve also seen d:\usr\mibs) or copy your populated mib directory (with IP-Mib and about a dozen others) to c:\php\extras\mibs . Presto, the poller now runs as it should.