this is strange, as soon as i assigned the data source a node error vanished. -- Thanks and Regards Anant Tickoo
On Mon, 8 Apr 2019 at 11:46, Anant Tickoo <ananttic...@gmail.com> wrote: > Hi All, > > i needed help with cacti 0.8.8h. > i have created a script , data input method , data template. Using there > two i created a data source(source was not mapped to a host). From that a > graph all was good > > once i added one more source and graph via data template i started getting > below error. > > > > 04/06/2019 04:40:28 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, > Error:'1366', SQL:"INSERT INTO poller_item (local_data_id, poller_id, > host_id, action, hostname, snmp_community, snmp_version, snmp_timeout, > snmp_username, snmp_password, snmp_auth_protocol, snmp_priv_passphrase, > snmp_priv_protocol, snmp_context, snmp_port, rrd_name, rrd_path, rrd_num, > rrd_step, rrd_next_step, arg1, arg2, arg3, present) VALUES (266, 0, 0, > 1,'None', '', '', '', '', '', '', '', '', '', '', '', > '/var/www/html/cacti/rra//266.rrd', '1', '300', '0', > '/home/cactiuser/traffic.sh dpe02', '', '', '1') ON DUPLICATE KEY UPDATE > poller_id=VALUES(poller_id), host_id=VALUES(host_id), > action=VALUES(action), hostname=VALUES(hostname), > snmp_community=VALUES(snmp_community), snmp_version=VALUES(snmp_version), > snmp_timeout=VALUES(snmp_timeout), snmp_username=VALUES(snmp_username), > snmp_password=VALUES(snmp_password), > snmp_auth_protocol=VALUES(snmp_auth_protocol), > snmp_priv_passphrase=VALUES(snmp_priv_passphrase), > snmp_priv_protocol=VALUES(snmp_priv_protocol), > snmp_context=VALUES(snmp_context), snmp_port=VALUES(snmp_port), > rrd_path=VALUES(rrd_path), rrd_num=VALUES(rrd_num), > rrd_step=VALUES(rrd_step), rrd_next_step=VALUES(rrd_next_step), > arg1=VALUES(arg1), arg2=VALUES(arg2), arg3=VALUES(arg3), > present=VALUES(present)' > > > > -- > Thanks and Regards > Anant Tickoo > _______________________________________________ cacti-user mailing list cacti-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cacti-user