Hi all,
I ve installed this software for the first time and I m passing from mrtg to cacti. After the installation, I see this error when trying to do php poller.php in the command prompt (windows server).
C:\Apache2\htdocs\cacti>php poller.php
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 (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): 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 (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)
ERROR: change root is not supported by your OS or at least by this copy of rrdto
ol
08/31/2005 05:42:05 PM - SYSTEM STATS: Time: 1.0403 s, Method: cmd.php, Processe
s: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 5, RRDs Processed 3
C:\Apache2\htdocs\cacti>
I have installed NET-SNMP and RRD but in the rra directory, I cannot find any rrd file.
Could you please help me on this one?
Many thanks,
John.
poller.php cannot find module...
Moderators: Developers, Moderators
-
- Posts: 4
- Joined: Wed Aug 31, 2005 10:44 am
Ok, I solved one of the 2 problems
Hi,
I found the problem for the mibs. It was my environment path that was not in php/mibs but php/extras/mibs.
But now when I execute in a command shell: php poller.php, I get this error
C:\Apache2\htdocs\cacti>php poller.php
ERROR: change root is not supported by your OS or at least by this copy of rrdtool
08/31/2005 06:08:28 PM - SYSTEM STATS: Time: 1.0386 s, Method: cmd.php, Processe
s: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 5, RRDs Processed 3
Any idea???
Thanks,
John.
I found the problem for the mibs. It was my environment path that was not in php/mibs but php/extras/mibs.
But now when I execute in a command shell: php poller.php, I get this error
C:\Apache2\htdocs\cacti>php poller.php
ERROR: change root is not supported by your OS or at least by this copy of rrdtool
08/31/2005 06:08:28 PM - SYSTEM STATS: Time: 1.0386 s, Method: cmd.php, Processe
s: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 5, RRDs Processed 3
Any idea???
Thanks,
John.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
If you are to utilize rrdtool 1.2.x in Windows, please utilize the distribution provided on the Cacti web site.
http://www.cacti.net/downloads
TheWitness
http://www.cacti.net/downloads
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?
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?
Who is online
Users browsing this forum: No registered users and 0 guests