snmp error

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

Moderators: Developers, Moderators

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

Post by TheWitness »

Ok, the "MIBS=ALL" environment variable should not be created. Is the documentation still wrong? Please remove that variable.

Thanks,

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?
tdl
Posts: 27
Joined: Sat Feb 12, 2005 4:06 am
Location: Long Beach CA

Post by tdl »

removed the variable long ago :)

Removed PHPRC and MIBDIRS from PATH System variable and added as their own Variable plus respective Values.

Run the check command

C:\Documents and Settings\Administrator>c:\php\php.exe c:\inetpub\cacti\poller.php

There are no items in your poller cache or polling is disabled. Make sure you have at least one data source created. If you do, go to 'Utilities', and select 'Clear Poller Cache'.

No more SNMP errors .. which I hope is good :wink:

I'll check on the polling

Thanks much.
tdl
Posts: 27
Joined: Sat Feb 12, 2005 4:06 am
Location: Long Beach CA

Post by tdl »

And yes documentation is still wrong.

Might suggest that the statement ..

Add the following to your Windows PATH environement variable c:\php. The Windows path can be accessed via the Control Panel at: 'System', 'Advanced', 'Environment'.

Add the following three environment variables to your system using the procedure above: MIBS=ALL, MIBSDIR=c:\php\mibs, and PHPRC=c:\php.

Be changed to read.

Add the following two environment variables as system variables
under System Properties - Environment Variables - System Variables

Using the NEW button add the following:

Variable: PHPRC Value: C:\php
Variable: MIBDIRS Value: C:\(directory path to)\mibs

I'm guessing that was the intent - am I wrong?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yes, MIBS=ALL is very bad!

TheWitness :oops:
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests