Issues with polling and display of graphs...
Moderators: Developers, Moderators
-
- Posts: 4
- Joined: Sun Jul 15, 2012 8:28 pm
Issues with polling and display of graphs...
Hi,
I am a Cacti newbie. I have installed Cacti-0.8.8a on a Win7 machine. I have been following all the steps for installation and configuration as per the Cacti manual and have been able to install everything correctly.
However, I am facing issues trying to plot my first graph. No data points appear in my graph and I get the following error all the time. I am not able to proceed any further.
07/18/2012 12:50:01 AM - SYSTEM STATS: Time:298.6031 Method:cmd.php Processes:2 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:10 RRDsProcessed:0
07/18/2012 12:50:01 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/18/2012 12:45:02 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q "c:/apache2.2/htdocs/cacti/cmd.php" 0 3]
07/18/2012 12:45:02 AM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
07/18/2012 12:45:02 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 600 seconds have passed since the last poll!
07/18/2012 12:45:02 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '600', Max Runtime '298', Poller Runs: '1'
07/18/2012 12:40:01 AM - SYSTEM STATS: Time:298.4675 Method:cmd.php Processes:2 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:10 RRDsProcessed:0
07/18/2012 12:40:01 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/18/2012 12:35:02 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q "c:/apache2.2/htdocs/cacti/cmd.php" 0 3]
07/18/2012 12:35:02 AM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
07/18/2012 12:35:02 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 4800 seconds have passed since the last poll!
Also, when i run poller.php from command line, i get:
Waiting on 1 of 1 pollers.
Kindly advise.
Thanks and regards,
Prateek
I am a Cacti newbie. I have installed Cacti-0.8.8a on a Win7 machine. I have been following all the steps for installation and configuration as per the Cacti manual and have been able to install everything correctly.
However, I am facing issues trying to plot my first graph. No data points appear in my graph and I get the following error all the time. I am not able to proceed any further.
07/18/2012 12:50:01 AM - SYSTEM STATS: Time:298.6031 Method:cmd.php Processes:2 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:10 RRDsProcessed:0
07/18/2012 12:50:01 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/18/2012 12:45:02 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q "c:/apache2.2/htdocs/cacti/cmd.php" 0 3]
07/18/2012 12:45:02 AM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
07/18/2012 12:45:02 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 600 seconds have passed since the last poll!
07/18/2012 12:45:02 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '600', Max Runtime '298', Poller Runs: '1'
07/18/2012 12:40:01 AM - SYSTEM STATS: Time:298.4675 Method:cmd.php Processes:2 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:10 RRDsProcessed:0
07/18/2012 12:40:01 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/18/2012 12:35:02 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q "c:/apache2.2/htdocs/cacti/cmd.php" 0 3]
07/18/2012 12:35:02 AM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
07/18/2012 12:35:02 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 4800 seconds have passed since the last poll!
Also, when i run poller.php from command line, i get:
Waiting on 1 of 1 pollers.
Kindly advise.
Thanks and regards,
Prateek
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Issues with polling and display of graphs...
Please increase logging level.
I assume, that you're using a script that does not return valid values within time
R.
I assume, that you're using a script that does not return valid values within time
R.
-
- Posts: 4
- Joined: Sun Jul 15, 2012 8:28 pm
Re: Issues with polling and display of graphs...
Hi.
Thanks for responding. Attached is the cacti log file for your reference. Please let me know if any other details are required.
Here is a sample as well:
07/18/2012 12:45:02 PM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
07/18/2012 12:45:02 PM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 600 seconds have passed since the last poll!
07/18/2012 12:45:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '600', Max Runtime '298', Poller Runs: '1'
07/18/2012 12:40:01 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_bottom' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_bottom' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"
07/18/2012 12:40:01 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "REPLACE INTO settings (name,value) VALUES ('stats_recache','RecacheTime:0.0 HostsRecached:0')"
07/18/2012 12:40:01 PM - CMDPHP: Poller[0] DEVEL: SQL Cell: "SELECT COUNT(*) FROM poller_command"
07/18/2012 12:40:01 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "REPLACE INTO settings (name,value) VALUES ('stats_poller','Time:298.1210 Method:cmd.php Processes:2 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:10 RRDsProcessed:0')"
07/18/2012 12:40:01 PM - SYSTEM STATS: Time:298.1210 Method:cmd.php Processes:2 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:10 RRDsProcessed:0
07/18/2012 12:40:01 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/18/2012 12:40:01 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
Thanks and regards,
Prateek
Thanks for responding. Attached is the cacti log file for your reference. Please let me know if any other details are required.
Here is a sample as well:
07/18/2012 12:45:02 PM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
07/18/2012 12:45:02 PM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 600 seconds have passed since the last poll!
07/18/2012 12:45:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '600', Max Runtime '298', Poller Runs: '1'
07/18/2012 12:40:01 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_bottom' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_bottom' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"
07/18/2012 12:40:01 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "REPLACE INTO settings (name,value) VALUES ('stats_recache','RecacheTime:0.0 HostsRecached:0')"
07/18/2012 12:40:01 PM - CMDPHP: Poller[0] DEVEL: SQL Cell: "SELECT COUNT(*) FROM poller_command"
07/18/2012 12:40:01 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "REPLACE INTO settings (name,value) VALUES ('stats_poller','Time:298.1210 Method:cmd.php Processes:2 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:10 RRDsProcessed:0')"
07/18/2012 12:40:01 PM - SYSTEM STATS: Time:298.1210 Method:cmd.php Processes:2 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:10 RRDsProcessed:0
07/18/2012 12:40:01 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/18/2012 12:40:01 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
Thanks and regards,
Prateek
- Attachments
-
- cacti.txt
- Cacti log sample
- (502.7 KiB) Downloaded 117 times
Re: Issues with polling and display of graphs...
check the cacti task. Are there two instances? It configured to run every 5 minutes?
Using any 3rd party scripts/templates?
Using any 3rd party scripts/templates?
| 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 |
-
- Posts: 4
- Joined: Sun Jul 15, 2012 8:28 pm
Re: Issues with polling and display of graphs...
Hi,
I have scheduled only 1 task in task scheduler and I am running the poller every 5 mins. Also, i am not using any 3rd party scripts. Just trying to implement from the Cacti manual - Chapter 4, page 9.
Please refer the attached screenshots and provide any pointers.
Thanks and regards,
Prateek
I have scheduled only 1 task in task scheduler and I am running the poller every 5 mins. Also, i am not using any 3rd party scripts. Just trying to implement from the Cacti manual - Chapter 4, page 9.
Please refer the attached screenshots and provide any pointers.
Thanks and regards,
Prateek
- Attachments
-
- screenshots.doc
- Screenshots
- (110.5 KiB) Downloaded 147 times
Re: Issues with polling and display of graphs...
Did you actually check the Windows Task scheduler? That's what fires off poller.php and starts the polling processes. The poller setting screen only tells Cacti how your system is configured.
Your graph errors should be troubleshooted by reading through http://forums.cacti.net/viewtopic.php?f=3&t=11747
Your graph errors should be troubleshooted by reading through http://forums.cacti.net/viewtopic.php?f=3&t=11747
| 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 |
-
- Posts: 4
- Joined: Sun Jul 15, 2012 8:28 pm
Re: Issues with polling and display of graphs...
Hi,
I have scheduled poller.php from windows task scheduler itself. Also, all installations were done referring to Cacti manual.
* I am currently using Cacti 0.8.8a. Is there a patch available on this version also ?
* Another point is that the machine i am using is a virtual machine. I read in one of the blogs that we face issues on VMs. Is that the case?
* Also, please guide me on how to generate various RRD files. I was able to generate one RRD file bu running poller.php. but it does not get updated from the scheduled task. Also, I added other graphs and they appear as broken images as required RRD files are not present. But, i am not sure what script to run to generate the required RRDs.
Appreciate if someone can guide.
Thanks and regards,
Prateek
I have scheduled poller.php from windows task scheduler itself. Also, all installations were done referring to Cacti manual.
* I am currently using Cacti 0.8.8a. Is there a patch available on this version also ?
* Another point is that the machine i am using is a virtual machine. I read in one of the blogs that we face issues on VMs. Is that the case?
* Also, please guide me on how to generate various RRD files. I was able to generate one RRD file bu running poller.php. but it does not get updated from the scheduled task. Also, I added other graphs and they appear as broken images as required RRD files are not present. But, i am not sure what script to run to generate the required RRDs.
Appreciate if someone can guide.
Thanks and regards,
Prateek
Re: Issues with polling and display of graphs...
Only one listed at http://www.cacti.net/download_patches.phpprateek2385 wrote:Is there a patch available on this version also ?
Not for small installations.prateek2385 wrote:* Another point is that the machine i am using is a virtual machine. I read in one of the blogs that we face issues on VMs. Is that the case?
Cacti creates the rrd files, you should not be manually doing so. The fact files were generated when you manually ran poller.php, but not when the scheduled task does, is typically a sign NTFS permissions are not properly configured. See http://docs.cacti.net/manual:087:1_inst ... e_securityprateek2385 wrote:* Also, please guide me on how to generate various RRD files. I was able to generate one RRD file bu running poller.php. but it does not get updated from the scheduled task. Also, I added other graphs and they appear as broken images as required RRD files are not present. But, i am not sure what script to run to generate the required RRDs.
| 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 3 guests