I have a strange problem. When I install thold the thold_data and thold_template tables are not created within the cacti DB.
Cacti 0.8.7g
Settings 0.71
Threshold (Thold) 0.4.9
PHP Version 5.3.6
Plugin Architecture 2.8
But everything seems okay when i install it and enable it. When I want to create a new threshold it says :
Error: A template with that Data Source already exists!
Thus these error messages :
Code: Select all
01/19/2012 06:20:22 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"DELETE FROM plugin_thold_log WHERE time<1324315222'
01/19/2012 06:20:22 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"INSERT INTO plugin_thold_host_failed (host_id) VALUES (166), (308), (463), (468), (545), (546), (587), (664), (670), (665), (647), (648), (649), (650), (651), (704), (705), (706), (707), (708), (709), (710), (711), (712), (713), (714), (715), (716), (717), (718), (719), (720), (721), (722), (723), (724), (725), (732), (734), (737), (738), (739), (740), (743), (744), (746), (787), (788), (789), (790), (793), (807), (810), (851), (883), (884), (889)'
01/19/2012 06:20:22 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"TRUNCATE TABLE plugin_thold_host_failed'
01/19/2012 06:20:22 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT * FROM plugin_thold_host_failed"
01/19/2012 06:20:22 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"UPDATE thold_data SET tcheck=0'
01/19/2012 06:20:22 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT * FROM thold_data WHERE thold_enabled='on' AND tcheck=1"
I looked around the internet and checked my mysql mode which is not strict
Code: Select all
mysql> SELECT @@sql_mode;
+------------+
| @@sql_mode |
+------------+
| |
+------------+
1 row in set (0.00 sec)