I'm a new cacti user and I'm tryng to do a simple graph using a script that show 3 simple values...
I followed a simple guide:
1) Create Data Input Method (just an shell script from ubuntu)
2) Create Data Source
3) Create a Graph
The graph is shown on debug window, but no data is there. For sure, the bash script works without problem and show the three values!
From the cacti log I seen:
Code: Select all
03/02/2011 11:41:19 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"select id,column_name from graph_template_input where graph_template_id="
03/02/2011 11:40:02 PM - SYSTEM STATS: Time:1.1434 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:9 RRDsProcessed:9
03/02/2011 11:40:02 PM - CMDPHP: Poller[0] Host[0] DS[15] WARNING: Result from CMD not valid. Partial Result: U
03/02/2011 11:40:02 PM - CMDPHP: Poller[0] Host[0] DS[14] WARNING: Result from CMD not valid. Partial Result: U
03/02/2011 11:40:02 PM - CMDPHP: Poller[0] Host[0] DS[13] WARNING: Result from CMD not valid. Partial Result: U
03/02/2011 11:40:02 PM - CMDPHP: Poller[0] Host[0] DS[12] WARNING: Result from CMD not valid. Partial Result: U
03/02/2011 11:37:35 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"select id,column_name from graph_template_input where graph_template_id="
03/02/2011 11:35:02 PM - SYSTEM STATS: Time:1.1884 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:9 RRDsProcessed:9
03/02/2011 11:35:01 PM - CMDPHP: Poller[0] Host[0] DS[15] WARNING: Result from CMD not valid. Partial Result: U
03/02/2011 11:35:01 PM - CMDPHP: Poller[0] Host[0] DS[14] WARNING: Result from CMD not valid. Partial Result: U
03/02/2011 11:35:01 PM - CMDPHP: Poller[0] Host[0] DS[13] WARNING: Result from CMD not valid. Partial Result: U
03/02/2011 11:35:01 PM - CMDPHP: Poller[0] Host[0] DS[12] WARNING: Result from CMD not valid. Partial Result: U
Could someone help me to understand what's the problem ???
Thanks!!