SNMP time was not numeric?
Moderators: Developers, Moderators
SNMP time was not numeric?
I just upgraded to 0.8.7. Everything was migrated and all graphing is
working.
However, when reviewing my log I see the following. Note: I cleared the
log file earlier, and the same entries were present. Has anyone seen this? I certainly didn't find anything with a search....
EDIT: The 0.8.7 patches are installed.....
Thanks.
11/12/2007 09:43:02 AM - WEBUI: Cacti Log Cleared from Web Management Interface
11/12/2007 09:45:02 AM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 09:45:05 AM - SYSTEM STATS: Time:3.2216 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:68 RRDsProcessed:41
11/12/2007 09:50:02 AM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 09:50:05 AM - SYSTEM STATS: Time:3.2259 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:68 RRDsProcessed:41
[
working.
However, when reviewing my log I see the following. Note: I cleared the
log file earlier, and the same entries were present. Has anyone seen this? I certainly didn't find anything with a search....
EDIT: The 0.8.7 patches are installed.....
Thanks.
11/12/2007 09:43:02 AM - WEBUI: Cacti Log Cleared from Web Management Interface
11/12/2007 09:45:02 AM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 09:45:05 AM - SYSTEM STATS: Time:3.2216 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:68 RRDsProcessed:41
11/12/2007 09:50:02 AM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 09:50:05 AM - SYSTEM STATS: Time:3.2259 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:68 RRDsProcessed:41
[
Jimmy says it best - "If we weren't crazy, we'd all go insane!".
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
edit lib/functions.php and place the following after line 617
Post you new output.
TheWitness
Code: Select all
cacti_log("The ping time was '" . $ping->ping_status . "'");
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?
Done. Currently in the oven I'll let it run for 30 min or so and see what the output is!
Thanks!
} elseif ($ping_availability == AVAIL_SNMP) {
if ($hosts[$host_id]["snmp_community"] == "") {
/***** TEST CODE ******
cacti_log("The ping time was '" . $ping->ping_status . "'");
cacti_log("Host[$host_id] SNMP: Device does not require SNMP", $print_data_to_stdout);
}else{
Thanks!
} elseif ($ping_availability == AVAIL_SNMP) {
if ($hosts[$host_id]["snmp_community"] == "") {
/***** TEST CODE ******
cacti_log("The ping time was '" . $ping->ping_status . "'");
cacti_log("Host[$host_id] SNMP: Device does not require SNMP", $print_data_to_stdout);
}else{
Jimmy says it best - "If we weren't crazy, we'd all go insane!".
Here is what I got....... Looks like no change.
Do you want me to keep the statement, comment it out, or just delete it?
Thanks.
11/12/2007 03:15:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:15:07 PM - SYSTEM STATS: Time:6.2667 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:20:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:20:05 PM - SYSTEM STATS: Time:3.2545 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:25:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:25:04 PM - SYSTEM STATS: Time:2.2489 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:30:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:30:04 PM - SYSTEM STATS: Time:3.2918 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:35:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:35:04 PM - SYSTEM STATS: Time:3.2730 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:40:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:40:04 PM - SYSTEM STATS: Time:2.2514 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:45:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:45:04 PM - SYSTEM STATS: Time:2.2557 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:50:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:50:04 PM - SYSTEM STATS: Time:3.2598 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:55:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:55:05 PM - SYSTEM STATS: Time:3.2761 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 04:00:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 04:00:04 PM - SYSTEM STATS: Time:2.2542 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 04:05:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 04:05:04 PM - SYSTEM STATS: Time:2.2525 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
Do you want me to keep the statement, comment it out, or just delete it?
Thanks.
11/12/2007 03:15:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:15:07 PM - SYSTEM STATS: Time:6.2667 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:20:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:20:05 PM - SYSTEM STATS: Time:3.2545 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:25:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:25:04 PM - SYSTEM STATS: Time:2.2489 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:30:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:30:04 PM - SYSTEM STATS: Time:3.2918 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:35:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:35:04 PM - SYSTEM STATS: Time:3.2730 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:40:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:40:04 PM - SYSTEM STATS: Time:2.2514 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:45:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:45:04 PM - SYSTEM STATS: Time:2.2557 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:50:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:50:04 PM - SYSTEM STATS: Time:3.2598 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 03:55:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 03:55:05 PM - SYSTEM STATS: Time:3.2761 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 04:00:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 04:00:04 PM - SYSTEM STATS: Time:2.2542 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
11/12/2007 04:05:02 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/12/2007 04:05:04 PM - SYSTEM STATS: Time:2.2525 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:108 RRDsProcessed:61
Jimmy says it best - "If we weren't crazy, we'd all go insane!".
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
This is odd. You must have put the statement in the wrong place. Look again for the error message and place it just before.
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?
Have the same problem, FreeBSD 6.2, php5, 0.8.7
Results with cacti_log("The ping time was '" . $ping->ping_status . "'"); added:
11/13/2007 01:26:02 PM - SYSTEM STATS: Time:2.1652 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:4
11/13/2007 01:26:02 PM - SYSTEM STATS: Time:1.1340 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:1
11/13/2007 01:26:01 PM - CMDPHP: Poller[0] The ping time was 'down'
11/13/2007 01:26:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 01:26:01 PM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Potential Data Source Issues for Data Sources: mem_buffers(DS[81]), mem_swap(DS[82]), (DS[83]), users(DS[84]), proc(DS[85])
11/13/2007 01:26:00 PM - CMDPHP: Poller[0] The ping time was 'down'
11/13/2007 01:26:00 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
The polled host is localhost
Results with cacti_log("The ping time was '" . $ping->ping_status . "'"); added:
11/13/2007 01:26:02 PM - SYSTEM STATS: Time:2.1652 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:4
11/13/2007 01:26:02 PM - SYSTEM STATS: Time:1.1340 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:1
11/13/2007 01:26:01 PM - CMDPHP: Poller[0] The ping time was 'down'
11/13/2007 01:26:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 01:26:01 PM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Potential Data Source Issues for Data Sources: mem_buffers(DS[81]), mem_swap(DS[82]), (DS[83]), users(DS[84]), proc(DS[85])
11/13/2007 01:26:00 PM - CMDPHP: Poller[0] The ping time was 'down'
11/13/2007 01:26:00 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
The polled host is localhost
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Much better. What are your availability settings for this host? Can you update your cmd.php and ping.php from SVN and see if this resolves that issue.
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?
cmd.php (4297) and ping.php (4277) downloaded from svn
Result:
11/13/2007 02:29:01 PM - SYSTEM STATS: Time:1.1313 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
11/13/2007 02:29:00 PM - CMDPHP: Poller[0] The ping time was '0.26'
11/13/2007 02:29:00 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 02:28:01 PM - SYSTEM STATS: Time:1.1308 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
11/13/2007 02:28:00 PM - CMDPHP: Poller[0] The ping time was '0.27'
11/13/2007 02:28:00 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 02:27:01 PM - SYSTEM STATS: Time:1.1318 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
11/13/2007 02:27:00 PM - CMDPHP: Poller[0] The ping time was '0.18'
11/13/2007 02:27:00 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 02:26:01 PM - SYSTEM STATS: Time:1.1936 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0
11/13/2007 02:26:01 PM - SYSTEM STATS: Time:1.1891 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:10
11/13/2007 02:26:01 PM - CMDPHP: Poller[0] The ping time was '0.17'
11/13/2007 02:26:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 02:26:00 PM - CMDPHP: Poller[0] The ping time was '0.27'
11/13/2007 02:26:00 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 02:25:01 PM - SYSTEM STATS: Time:1.1323 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
11/13/2007 02:25:00 PM - CMDPHP: Poller[0] The ping time was 'down'
11/13/2007 02:25:00 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
Between 02:25 PM and 02:26 PM availability settings for this host was changed to 'SNMP and Ping'
Sometimes the below also happens. I don't know if it's related.
11/13/2007 02:30:01 PM - SYSTEM STATS: Time:1.1865 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0
11/13/2007 02:30:01 PM - SYSTEM STATS: Time:1.1546 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (85, 'proc', '2007-11-13 14:30:01', '91')'
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (84, 'users', '2007-11-13 14:30:01', '1')'
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (83, '', '2007-11-13 14:30:01', '1min:0.08 5min:0.04 10min:0.01')'
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (82, 'mem_swap', '2007-11-13 14:30:01', '498128')'
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (81, 'mem_buffers', '2007-11-13 14:30:01', '933108')'
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] The ping time was '0.17'
11/13/2007 02:30:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] The ping time was '2.05'
11/13/2007 02:30:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
Result:
11/13/2007 02:29:01 PM - SYSTEM STATS: Time:1.1313 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
11/13/2007 02:29:00 PM - CMDPHP: Poller[0] The ping time was '0.26'
11/13/2007 02:29:00 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 02:28:01 PM - SYSTEM STATS: Time:1.1308 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
11/13/2007 02:28:00 PM - CMDPHP: Poller[0] The ping time was '0.27'
11/13/2007 02:28:00 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 02:27:01 PM - SYSTEM STATS: Time:1.1318 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
11/13/2007 02:27:00 PM - CMDPHP: Poller[0] The ping time was '0.18'
11/13/2007 02:27:00 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 02:26:01 PM - SYSTEM STATS: Time:1.1936 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0
11/13/2007 02:26:01 PM - SYSTEM STATS: Time:1.1891 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:10
11/13/2007 02:26:01 PM - CMDPHP: Poller[0] The ping time was '0.17'
11/13/2007 02:26:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 02:26:00 PM - CMDPHP: Poller[0] The ping time was '0.27'
11/13/2007 02:26:00 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 02:25:01 PM - SYSTEM STATS: Time:1.1323 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
11/13/2007 02:25:00 PM - CMDPHP: Poller[0] The ping time was 'down'
11/13/2007 02:25:00 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
Between 02:25 PM and 02:26 PM availability settings for this host was changed to 'SNMP and Ping'
Sometimes the below also happens. I don't know if it's related.
11/13/2007 02:30:01 PM - SYSTEM STATS: Time:1.1865 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0
11/13/2007 02:30:01 PM - SYSTEM STATS: Time:1.1546 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (85, 'proc', '2007-11-13 14:30:01', '91')'
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (84, 'users', '2007-11-13 14:30:01', '1')'
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (83, '', '2007-11-13 14:30:01', '1min:0.08 5min:0.04 10min:0.01')'
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (82, 'mem_swap', '2007-11-13 14:30:01', '498128')'
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (81, 'mem_buffers', '2007-11-13 14:30:01', '933108')'
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] The ping time was '0.17'
11/13/2007 02:30:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
11/13/2007 02:30:01 PM - CMDPHP: Poller[0] The ping time was '2.05'
11/13/2007 02:30:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[9] SNMP Time was not numeric
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
For those SQL messages, edit poller.php and look for where $cron_interval is set. Change it to "$cron_interval = 300;". That sould help that bug. Otherwise, I suspect a problem with your PHP version. What version are you running and on what platform?
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?
After changing $cron)interval, the error still exists.
I will place the debug code in functions.php (and serach on error message as opposed to line number) and post my results... I'll also make sure
that my fingers didn't wander when I changed $cron_interval.
11/13/2007 10:06:46 AM - AUTH LOGIN: User 'admin' Authenticated
11/13/2007 10:10:02 AM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/13/2007 10:10:05 AM - SYSTEM STATS: Time:3.3481 Method:cmd.php Processes:1 Threads:N/A Hosts:13 HostsPerProcess:13 DataSources:163 RRDsProcessed:90
11/13/2007 10:15:02 AM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/13/2007 10:15:05 AM - SYSTEM STATS: Time:3.3505 Method:cmd.php Processes:1 Threads:N/A Hosts:13 HostsPerProcess:13 DataSources:163 RRDsProcessed:90
11/13/2007 10:20:02 AM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/13/2007 10:20:05 AM - SYSTEM STATS: Time:3.3687 Method:cmd.php Processes:1 Threads:N/A Hosts:13 HostsPerProcess:13 DataSources:162 RRDsProcessed:89
I will place the debug code in functions.php (and serach on error message as opposed to line number) and post my results... I'll also make sure
that my fingers didn't wander when I changed $cron_interval.
11/13/2007 10:06:46 AM - AUTH LOGIN: User 'admin' Authenticated
11/13/2007 10:10:02 AM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/13/2007 10:10:05 AM - SYSTEM STATS: Time:3.3481 Method:cmd.php Processes:1 Threads:N/A Hosts:13 HostsPerProcess:13 DataSources:163 RRDsProcessed:90
11/13/2007 10:15:02 AM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/13/2007 10:15:05 AM - SYSTEM STATS: Time:3.3505 Method:cmd.php Processes:1 Threads:N/A Hosts:13 HostsPerProcess:13 DataSources:163 RRDsProcessed:90
11/13/2007 10:20:02 AM - POLLER: Poller[0] WARNING: Poller[0] Host[1] SNMP Time was not numeric
11/13/2007 10:20:05 AM - SYSTEM STATS: Time:3.3687 Method:cmd.php Processes:1 Threads:N/A Hosts:13 HostsPerProcess:13 DataSources:162 RRDsProcessed:89
Jimmy says it best - "If we weren't crazy, we'd all go insane!".
I have the same problem.
I've made the same change to lib/functions.php, and my output is:
The hosts reachability options are the defaults, snmp/400/1. Though just for the hell of it I changed one host (id=13) to ping/udp/0/400/1, with no effect as you can see.
The host is, in fact, up.
[edit a few hours later]
Following up on the 'sockets support' error, I installed the relevant package and now the host I changed manually doesn't error.
This was all fine pre-upgrade, but I guess the fix is to go through every device and update them to 'ping'.
I've made the same change to lib/functions.php, and my output is:
Code: Select all
12/03/2007 10:50:15 AM - POLLER: Poller[0] WARNING: Poller[0] Host[13] Ping Time was not numeric
12/03/2007 10:50:15 AM - CMDPHP: Poller[0] The ping time was 'down'
12/03/2007 10:50:15 AM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
12/03/2007 10:50:10 AM - POLLER: Poller[0] WARNING: Poller[0] Host[12] SNMP Time was not numeric
'
12/03/2007 10:50:10 AM - CMDPHP: Poller[0] The ping time was 'down
12/03/2007 10:50:10 AM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
The host is, in fact, up.
[edit a few hours later]
Following up on the 'sockets support' error, I installed the relevant package and now the host I changed manually doesn't error.
This was all fine pre-upgrade, but I guess the fix is to go through every device and update them to 'ping'.
Who is online
Users browsing this forum: No registered users and 0 guests