Error on poller.php

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

Moderators: Developers, Moderators

Post Reply
cdegroat
Cacti User
Posts: 52
Joined: Thu Jun 16, 2005 5:56 pm

Error on poller.php

Post by cdegroat »

When i run the poller.php i receive these errors:

C:\Program Files\Apache Group\Apache\htdocs\cacti>C:\php4\php.exe 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)
Content-type: text/html
X-Powered-By: PHP/4.3.10

Also inside Cacti i am getting SNMP not in use.
Any ideas on what im doing wrong?
net-snmp is installed, paths exactly as shown on install guide.
cdegroat
Cacti User
Posts: 52
Joined: Thu Jun 16, 2005 5:56 pm

Post by cdegroat »

Ok, ive fixed this issue: i now receive:

C:\Program Files\Apache Group\Apache\htdocs\cacti>c:\php4\php.exe poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.10

<br><strong>This script is only meant to run at the command line.</strong>
C:\Program Files\Apache Group\Apache\htdocs\cacti>
My error is graphs still show up as little red X pictures, signs there is no image. Also still showing SNMP not in use when i go to edit my device.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Upgrade your php to the latest 4.3.x

2) Put php in your system path.

3) Turn the polling level in cacti to debug for one cycle and paste the output. If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest