Update from 0.8.6j to 0.8.7a
Moderators: Developers, Moderators
Update from 0.8.6j to 0.8.7a
After a upgrade to 0.8.7a, schedules of loading of channels are not drawn. In a file cacti-error.log the mistake:
[Fri Feb 8 17:46:14 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
is given. Somebody can help me?
[Fri Feb 8 17:46:14 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
is given. Somebody can help me?
cacti.log
02/29/2008 04:37:08 PM - SYSTEM STATS: Time:6.3267 Method:cmd.php Processes:1 Threads:N/A Hosts:7 HostsPerProcess:7 DataSources:47 RRDsProcessed:25
02/29/2008 04:37:07 PM - POLLER: Poller[0] WARNING: Poller[0] Host[8] Ping Time was not numeric
02/29/2008 04:37:07 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:07 PM - POLLER: Poller[0] WARNING: Poller[0] Host[6] Ping Time was not numeric
02/29/2008 04:37:06 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:05 PM - POLLER: Poller[0] WARNING: Poller[0] Host[5] Ping Time was not numeric
02/29/2008 04:37:05 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:03 PM - POLLER: Poller[0] WARNING: Poller[0] Host[3] Ping Time was not numeric
02/29/2008 04:37:03 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[2] Ping Time was not numeric
02/29/2008 04:37:02 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:02 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 88741 seconds have passed since the last poll!
02/29/2008 04:37:08 PM - SYSTEM STATS: Time:6.3267 Method:cmd.php Processes:1 Threads:N/A Hosts:7 HostsPerProcess:7 DataSources:47 RRDsProcessed:25
02/29/2008 04:37:07 PM - POLLER: Poller[0] WARNING: Poller[0] Host[8] Ping Time was not numeric
02/29/2008 04:37:07 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:07 PM - POLLER: Poller[0] WARNING: Poller[0] Host[6] Ping Time was not numeric
02/29/2008 04:37:06 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:05 PM - POLLER: Poller[0] WARNING: Poller[0] Host[5] Ping Time was not numeric
02/29/2008 04:37:05 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:03 PM - POLLER: Poller[0] WARNING: Poller[0] Host[3] Ping Time was not numeric
02/29/2008 04:37:03 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[2] Ping Time was not numeric
02/29/2008 04:37:02 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:02 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 88741 seconds have passed since the last poll!
cacti-error.log
[Fri Feb 29 16:37:13 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
[Fri Feb 29 16:37:13 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
[Fri Feb 29 16:37:13 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
[Fri Feb 29 16:37:13 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
[Fri Feb 29 16:37:13 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
[Fri Feb 29 16:37:13 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
[Fri Feb 29 16:37:13 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
[Fri Feb 29 16:37:13 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
[Fri Feb 29 16:37:13 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
[Fri Feb 29 16:37:13 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
[Fri Feb 29 16:37:13 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
[Fri Feb 29 16:37:13 2008] [error] PHP Warning: Division by zero in /etc/httpd/htdocs/sites/cacti/lib/api_poller.php on line 119
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Which "Downed Host Detection" is applied to those hosts?lion_han wrote:cacti.log
02/29/2008 04:37:08 PM - SYSTEM STATS: Time:6.3267 Method:cmd.php Processes:1 Threads:N/A Hosts:7 HostsPerProcess:7 DataSources:47 RRDsProcessed:25
02/29/2008 04:37:07 PM - POLLER: Poller[0] WARNING: Poller[0] Host[8] Ping Time was not numeric
02/29/2008 04:37:07 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:07 PM - POLLER: Poller[0] WARNING: Poller[0] Host[6] Ping Time was not numeric
02/29/2008 04:37:06 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:05 PM - POLLER: Poller[0] WARNING: Poller[0] Host[5] Ping Time was not numeric
02/29/2008 04:37:05 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:03 PM - POLLER: Poller[0] WARNING: Poller[0] Host[3] Ping Time was not numeric
02/29/2008 04:37:03 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[2] Ping Time was not numeric
02/29/2008 04:37:02 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
02/29/2008 04:37:02 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 88741 seconds have passed since the last poll!
Reinhard
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
which operating system are you running ?
In the mean time, can you change it to "SNMP only"
which operating system are you running ?
In the mean time, can you change it to "SNMP only"
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
That division by zero error message tells me that something is definately hosed with your install. It would look like the poller_interval may not be set. Are you sure you completely upgraded. Maybe you missed global_settings.php.
TheWitness
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 2 guests