I am using :
Code: Select all
PHP Version 5.3.3
PHP OS Linux
Cacti Version 0.8.8a
Cacti OS unix
SNMP Version NET-SNMP version: 5.5
RRDTool Version RRDTool 1.3.x
CentOS release 6.3 (Final)
Nectar 0.11
When using the plugin, i can feel the forms, no problem when when adding "report items" I save them and I get the following error when trying to send the reports:
Code: Select all
09/12/2013 01:43:38 PM - CMDPHP: Poller[0] ERROR: SQL Row Failed!, Error:'1064', SQL:"SELECT * FROM plugin_nectar WHERE id="
09/12/2013 01:43:38 PM - CMDPHP: Poller[0] ERROR: SQL Row Failed!, Error:'1064', SQL:"select max(sequence)+1 as seq from plugin_nectar_items where report_id="
09/12/2013 01:44:49 PM - CMDPHP: Poller[0] ERROR: SQL Row Failed!, Error:'1064', SQL:"SELECT * FROM plugin_nectar WHERE id="
09/12/2013 01:44:49 PM - CMDPHP: Poller[0] ERROR: SQL Row Failed!, Error:'1064', SQL:"select max(sequence)+1 as seq from plugin_nectar_items where report_id="
Code: Select all
mysql> select * from plugin_nectar;
+----+------+--------+-------+--------+------------+--------------------------------+-------+-----------------+----------+---------+
| id | name | intrvl | count | offset | mailtime | from_email | email | attachment_type | lastsent | enabled |
+----+------+--------+-------+--------+------------+--------------------------------+-------+-----------------+----------+---------+
| 1 | Test | 1 | 1 | 0 | 1378994400 | cacti@server.com | g | 1 | 0 | on |
+----+------+--------+-------+--------+------------+--------------------------------+-------+-----------------+----------+---------+
1 row in set (0.00 sec)
mysql> select * from plugin_nectar_items;
+----+-----------+-----------+---------+----------------+----------+-------+-----------+-----------+----------+
| id | report_id | item_type | host_id | local_graph_id | timespan | align | item_text | font_size | sequence |
+----+-----------+-----------+---------+----------------+----------+-------+-----------+-----------+----------+
| 1 | 0 | 1 | 101 | 1775 | 7 | 1 | | 10 | 1 |
+----+-----------+-----------+---------+----------------+----------+-------+-----------+-----------+----------+
1 row in set (0.00 sec)
mysql> select * from plugin_nectar_items;
+----+-----------+-----------+---------+----------------+----------+-------+-----------+-----------+----------+
| id | report_id | item_type | host_id | local_graph_id | timespan | align | item_text | font_size | sequence |
+----+-----------+-----------+---------+----------------+----------+-------+-----------+-----------+----------+
| 1 | 0 | 1 | 101 | 1775 | 7 | 1 | | 10 | 1 |
| 2 | 0 | 2 | 0 | 0 | 0 | 1 | Test!!!! | 10 | 1 |
+----+-----------+-----------+---------+----------------+----------+-------+-----------+-----------+----------+
Any idea? am I doing anything wrong?
Many thanks