SNMP gets invald results back

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Lehmi
Posts: 3
Joined: Mon May 02, 2005 4:08 am

SNMP gets invald results back

Post by Lehmi »

Hello,

i've got a little problem... i am running cacti under windows 2003 server... now i've got two nic's wich points in two diffrent networks. one interface (wich points in the local network) gets the data properly... but the other one gets invalid data from snmp...

It's possible to ping the router in the other network and cacti also gets some snmp informations from him... also the snmp-Interface query runs fine but it gets no result.

I think the problem is that the poller (cmd.php) cannot find the MIB's... this is what the poller tells when he starts (cannot find the module ... in line 0...) but i don't know how to solve this problem...

Has someone a solution for me? ;-)... i've tried many things;-)...

Kind regards!

lehmi
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The error message you refer to is when php_snmp can not find mib files. I assume that you are running under Windows. Please create the following directory under the same volume as PHP: x:\usr\mibs and place your mibs there.

You second issue relative to NIC's. The operating system picks the default route via your system configuration. Cacti does not (and shouldn't) affect that.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Lehmi
Posts: 3
Joined: Mon May 02, 2005 4:08 am

Post by Lehmi »

thanks for your reply.... i've done all you said but it still doesn't find the mibs... i think that that is the real problem... with the old version under win 2k server it works fine...

do i had to ad the path to the mibs in the class path?

Kind regards!

Lehmi
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests