[solved] SNMP Get Error message

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
robocp01
Posts: 28
Joined: Mon Sep 21, 2009 3:59 pm
Location: Chalottesville, Va.

[solved] SNMP Get Error message

Post by robocp01 »

Problem with SNMP Get command. I'm having issues with an SNMP get command working correctly. I get an error message which states
Cannot find module <IB-MIB:At line 0 in <none>
Cannot find module <IP-MIB>:At line 0 in <none>
and many more.

I've researched this error message and it appears to be something with the path of the MIB files. I'm running Cacti 8.7.e on Windows 2003 and used the installer package that was created for Windows. Checked previous documentation and can't seem to find the solution for this.

Date Tue, 23 Mar 2010 15:51:29 -0400
Cacti Version 0.8.7e
Cacti OS win32
SNMP Version NET-SNMP version: 5.4.2.1
RRDTool Version RRDTool 1.2.x
Hosts 47
Graphs 637
Data Sources Script/Command: 5
SNMP: 96
SNMP Query: 156
Script Query - Script Server: 338
Total: 595

Any help would be great.

Thanks.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

It is advised to not use MIBs with cacti. This slows down performance. For windows, you might want to set a specific, single MIB file for the MIBS environment variale to suppress parsing each and every mib file
R.
robocp01
Posts: 28
Joined: Mon Sep 21, 2009 3:59 pm
Location: Chalottesville, Va.

Post by robocp01 »

Gandalf,

I've not changed anything that I'm aware of and I used the Windows installer package that you created.

I've confirmed that the MIBDIRS variable points to the c:\php\extras\mib folder and I've not changed anything there. The only file in the c:\php\extras\mib directory is an index file.

I'm fairly new to Cacti so can you give me a layman's answer if possible.
Thanks for your help.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

It's not my installer; moving to windows
R.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) please attach the cacti-installer.log file generated. Something obviously went wrong during the installation process.

2) Does c:\usr\ folder exist? If so, copy the mib files from there to the c:\php\extras\mib\ folder. Otherwise, you'll have to download the PHP ZIP installer file, which will contain a set of standard MIB files.
robocp01
Posts: 28
Joined: Mon Sep 21, 2009 3:59 pm
Location: Chalottesville, Va.

Installer Log File

Post by robocp01 »

Here is the Cacti Installer Log File. Sorry took me so long to reply.
Attachments
cacti-installer.txt
(195.13 KiB) Downloaded 376 times
robocp01
Posts: 28
Joined: Mon Sep 21, 2009 3:59 pm
Location: Chalottesville, Va.

C:\USR directory

Post by robocp01 »

Yes, this directory exists but it appears to be mostly empty. Has the following directory structure.

\\USR\SNMP\Persist\snmpapp.conf.

That's it.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You say you ran it on Windows 2003, yet the installer shows something Vista or newer. Do you know what OS you really run?

What version of the installer did you use? It doesn't look like the latest release.
Otherwise, you'll have to download the PHP ZIP installer file, which will contain a set of standard MIB files.
Please do so.
robocp01
Posts: 28
Joined: Mon Sep 21, 2009 3:59 pm
Location: Chalottesville, Va.

Windows 2008

Post by robocp01 »

Sorry, my mistake it is Windows 2008 and I loaded what I thought was the latest version at that time. I installed this server back around November 2009.
robocp01
Posts: 28
Joined: Mon Sep 21, 2009 3:59 pm
Location: Chalottesville, Va.

Thank You

Post by robocp01 »

Thank You for your time. That resolved it.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests