Poller error (no graph) : cannot find module
Moderators: Developers, Moderators
Poller error (no graph) : cannot find module
Hi,
I'm new to cacti. I have managed to get everything working except I can't do any graphing.
There's missing rrd files too. Read that I need to run poller. So I run it. And i can see the devices status and ping respond time.
But I got these errros and i still can't see any graph. Help anyone ?
Cacti 0.8.6h
cactid 0.8.6g
php5.1.2
Apache2
Windows Server 2003
mySQL5
Netsnmp 5
RRDtool 1.2.10
This is the output from running poller
C:\>php c:\apache2\htdocs\cacti\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
03/28/2006 02:57:10 AM - SYSTEM STATS: Time:3.0700 Method:cmd.php Processes:1 Th
reads:N/A Hosts:4 HostsPerProcess:4 DataSources:14 RRDsProcessed:8
Attaching the log from debug. Manually running the poller.
I'm new to cacti. I have managed to get everything working except I can't do any graphing.
There's missing rrd files too. Read that I need to run poller. So I run it. And i can see the devices status and ping respond time.
But I got these errros and i still can't see any graph. Help anyone ?
Cacti 0.8.6h
cactid 0.8.6g
php5.1.2
Apache2
Windows Server 2003
mySQL5
Netsnmp 5
RRDtool 1.2.10
This is the output from running poller
C:\>php c:\apache2\htdocs\cacti\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
03/28/2006 02:57:10 AM - SYSTEM STATS: Time:3.0700 Method:cmd.php Processes:1 Th
reads:N/A Hosts:4 HostsPerProcess:4 DataSources:14 RRDsProcessed:8
Attaching the log from debug. Manually running the poller.
- Attachments
-
- cacti.txt
- (61.84 KiB) Downloaded 320 times
It appears you have not read the README sticky nor my windows installation guide. Please do so.
Your MIBDIRS variable is wrong, which is causing the Cannot find module errors. They dont really matter though, since cacti doesnt use mib files.
Your MIBDIRS variable is wrong, which is causing the Cannot find module errors. They dont really matter though, since cacti doesnt use mib files.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
My apologies. I actually read the sticky, but I missed out the Windows installation part. The SNMP mibs error have been resolved.
However, I realised that the rrd files are not being created although the poller is running it. Any idea why is this happening ?
So, from the log, I manually cut the command and paste it into the command prompt, and the rrd file created successfully.
Do I have to tweak the cmd.php file ? Cos' when the poller is running, I see some command not recognised by the windows dos promot. Eg: ps, cat etc.
However, I realised that the rrd files are not being created although the poller is running it. Any idea why is this happening ?
So, from the log, I manually cut the command and paste it into the command prompt, and the rrd file created successfully.
Do I have to tweak the cmd.php file ? Cos' when the poller is running, I see some command not recognised by the windows dos promot. Eg: ps, cat etc.
- Attachments
-
- cacti.txt
- (212.05 KiB) Downloaded 309 times
Seeing that cacti is always trying to have rrdtool create the rrd files, it looks like you have a permission issue on your rrd directory. Fire up FileMon and see what is getting denied during a polling session.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Hi,
the problem have been resolved. I'm seeing graphs now. The data aer updated. The problem lies with with missing queries template files when I tried to monitor response time and availability. eg: host_availability_xxx.php
But when I try to graph something which uses SNMP data sources, everything works fine.
Of cos' theres a font issue which I have managed to resolve from some of the old post here.
Any idea where I can get the host_availability_xxx.php templates ?
thanks
norman
the problem have been resolved. I'm seeing graphs now. The data aer updated. The problem lies with with missing queries template files when I tried to monitor response time and availability. eg: host_availability_xxx.php
But when I try to graph something which uses SNMP data sources, everything works fine.
Of cos' theres a font issue which I have managed to resolve from some of the old post here.
Any idea where I can get the host_availability_xxx.php templates ?
thanks
norman
What host availability templates are you talking about? Did you install some script from the forum?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Its the file associated with the Availability and Respond graphing template.BSOD2600 wrote:What host availability templates are you talking about? Did you install some script from the forum?
Didn't isntall the script from the forum. Its ok, I think I know where to get those
Thanks for the help so far. Managed to get both threshold n alert working. I'm a happy man for the weekend. =)
could not see the graphics
I instaled cacti and i cannot see any graphics. It looks like are broken.
I run in cmd the poller and shows me something like that:
C:\apache2\htdocs\cacti>php poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.4
04/12/2006 02:04:13 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceed
ed. Exiting.
I turned on graph debug mode and says that:
RRDTool Says:
ERROR: opening 'C:/apache2/htdocs/cacti/rra/localhost_load_1min_5.rrd': No such file or directory
In rra directory the cacti log say:
04/09/2006 07:05:27 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:20:19 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:24:05 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:24:06 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:25:45 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:25:46 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:25:46 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:28:55 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:28:56 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:29:04 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:29:04 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:29:05 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:29:05 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:29:05 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:29:05 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/12/2006 12:51:13 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/12/2006 12:59:09 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/12/2006 01:00:05 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/12/2006 01:37:38 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/12/2006 01:55:14 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
I run in cmd the poller and shows me something like that:
C:\apache2\htdocs\cacti>php poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.4
04/12/2006 02:04:13 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceed
ed. Exiting.
I turned on graph debug mode and says that:
RRDTool Says:
ERROR: opening 'C:/apache2/htdocs/cacti/rra/localhost_load_1min_5.rrd': No such file or directory
In rra directory the cacti log say:
04/09/2006 07:05:27 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:20:19 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:24:05 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:24:06 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:25:45 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:25:46 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:25:46 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:28:55 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:28:56 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:29:04 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:29:04 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:29:05 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:29:05 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:29:05 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/11/2006 04:29:05 PM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
04/12/2006 12:51:13 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/12/2006 12:59:09 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/12/2006 01:00:05 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/12/2006 01:37:38 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/12/2006 01:55:14 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
Cannot connect to MySQL server on 'localhost' is a major problem. Follow my installation guide in my signature. Make sure you set up a cacti username/password in mysql and set that in /include/config.php.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest