Next I added my speedtouch 510 and it showed no graphs. Wich was ok considering I hadn't created them, so I went on with adding my computers. But again. No graphs.
Now I looked at the log file and I saw the errors!
Code: Select all
03/25/2006 12:50:45 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "update data_template_data set rrd_maximum='|query_ifSpeed|' where local_data_id=37"
03/25/2006 12:50:45 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "replace into data_input_data (data_input_field_id,data_template_data_id,t_value,value) values (12,,'','ifDescr')"
03/25/2006 12:50:45 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "replace into data_input_data (data_input_field_id,data_template_data_id,t_value,value) values (13,,'','ADSL: INTERLEAVED-CHANNEL THOMSON SpeedTouch 510 4.2.7.16.0')"
03/25/2006 12:50:45 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "replace into data_input_data (data_input_field_id,data_template_data_id,t_value,value) values (14,,'','22')"
03/25/2006 12:50:45 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select data_input_fields.type_code, data_input_data.value from (data_input_fields,data_input_data) where data_input_fields.id=data_input_data.data_input_field_id and data_input_data.data_template_data_id= and (data_input_fields.type_code='index_type' or data_input_fields.type_code='index_value' or data_input_fields.type_code='output_type')"
03/25/2006 12:50:45 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select data_input_fields.type_code, data_input_data.value from (data_input_fields,data_input_data) where data_input_fields.id=data_input_data.data_input_field_id and data_input_data.data_template_data_id= and (data_input_fields.type_code='index_type' or data_input_fields.type_code='index_value' or data_input_fields.type_code='output_type')"
So, my first question is: 'How to solve this?'
The second is: 'Why isn't there a mysql error included in the log?' That would make life way easier.
Furthermore, the status is 'unknown', so are the ping times and the availability is 100%. Sounds familiar?
http://home.spockz.nl/phpinfo.php
http://home.spockz.nl/cacti/