I am running the SVN version of the Syslog plugin and for the most part, it is running great. I have one problem though. I am unable to add any alerts or removal rules.
When i click on those two items i get the following
SYSLOG ALERTS:
Code: Select all
Warning: Division by zero in E:\cacti\plugins\syslog\functions.php on line 230
SYSLOG REMOVAL:
Code: Select all
Warning: Division by zero in E:\cacti\plugins\syslog\functions.php on line 230
It also puts the following in my Cacti Log:
Code: Select all
11/21/2007 11:00:31 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"SELECT * FROM syslog_remove LIMIT 0, "
11/21/2007 10:58:37 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"SELECT * FROM syslog_alert LIMIT 0, "
11/21/2007 10:58:24 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1146', SQL:"SELECT count(*) from syslog_reports"
11/21/2007 10:58:24 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT * FROM syslog_reports LIMIT 0, 30"
app