I have a problem: after months of running the plug-in weathermap stopped showing traffic. Soon found that cacti is not collecting the data. SNMP is working correctly. Ask for help, because I will be charged next week to present the graph of traffic over the last 30 days!
Following parts of debugging 5 minutes:
Code: Select all
06/11/2010 08:34:14 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"SELECT local_data_id, rrd_name FROM poller_output"
06/11/2010 08:34:15 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.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"
06/11/2010 08:34:16 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1017', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (59, 'traffic_out', '2010-06-11 08:34:15', '90720')'
06/11/2010 08:34:16 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1017', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (59, 'traffic_in', '2010-06-11 08:34:15', '577114')'
06/11/2010 08:34:16 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.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) "
06/11/2010 08:34:16 AM - SYSTEM STATS: Time:1.6092 Method:cmd.php Processes:1 Threads:N/A Hosts:70 HostsPerProcess:70 DataSources:4 RRDsProcessed:0
06/11/2010 08:34:16 AM - SYSTEM THOLD STATS: Time:0.0057 Tholds:0 Hosts:0
06/11/2010 08:34:16 AM - WEATHERMAP
: Poller[0] Weathermap 0.95b starting - Normal logging mode. Turn on DEBUG in Cacti for more information
06/11/2010 08:34:16 AM - WEATHERMAP: Poller[0] [Map 3] simple.conf: Map: /var/www/cacti/plugins/weathermap/configs/simple.conf -> /var/www/cacti/plugins/weathermap/output/f89071fc16045372786e.html & /var/www/cacti/plugins/weathermap/output/f89071fc16045372786e.png
06/11/2010 08:34:16 AM - WEATHERMAP: Poller[0] [Map 3] simple.conf: ReadData: LINK xx-Roteador-IGX, target: /var/www/cacti/rra/ra_-_xx_traffic_in_96.rrd on config line 181 had no valid data, according to WeatherMapDataSource_rrd
06/11/2010 08:34:16 AM - WEATHERMAP: Poller[0] [Map 3] simple.conf: ReadData: LINK RANBAND-Roteador-IGX, target: /var/www/cacti/rra/ra_-_xxx_traffic_in_37.rrd on config line 189 had no valid data, according to WeatherMapDataSource_rrd
06/11/2010 08:34:16 AM - WEATHERMAP: Poller[0] [Map 3] simple.conf: ReadData: LINK RAACLARAS-Roteador-IGX, target: /var/www/cacti/rra/ra_-_xxxx_traffic_in_13.rrd on config line 196 had no valid data, according to WeatherMapDataSource_rrd
[...]
06/11/2010 08:34:18 AM - WEATHERMAP: Poller[0] [Map 2] map2.conf: Weathermap 0.95b run complete - 2 maps were run in 2 seconds
06/11/2010 08:35:03 AM - POLLER: Poller[0] NOTE: Poller Int: '60', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '5'
06/11/2010 08:35:03 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"SELECT local_data_id, rrd_name FROM poller_output"
06/11/2010 08:35:03 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.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"
06/11/2010 08:35:03 AM - CMDPHP: Poller[0] Host[20] NOTICE: HOST EVENT: Host Returned from DOWN State:
06/11/2010 08:35:03 AM - CMDPHP: Poller[0] Host[20] DS[58] SNMP: v2: 172.20.0.161, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 611088
[...]
jotaceCacti Version - 0.8.7d
Plugin Architecture - 2.4
Poller Type - CMD.php
Server Info - Linux 2.6.18-6-686
Web Server - Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch
PHP - 5.2.6-1+lenny2
PHP Extensions - zip, xmlwriter, libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, SimpleXML, sockets, soap, SPL, shmop, standard, Reflection, posix, mime_magic, mbstring, json, iconv, hash, gettext, ftp, filter, exif, dom, dba, date, ctype, calendar, bz2, bcmath, zlib, pcre, openssl, xmlreader, apache2handler, gd, mcrypt, mysql, mysqli, PDO, pdo_mysql, snmp
MySQL - 5.0.51a-24
RRDTool - 1.3.1
SNMP - 5.4.1
Plugins
- Thresholds (thold - v0.4.1)
Device Monitoring (monitor - v0.8.2)
Host Info (hostinfo - v0.2)
PHP Network Weathermap (weathermap - v0.95b)
Global Plugin Settings (settings - v0.5)