I just got Cacti fully working and graphing 2 hosts including the network interface graphs (throughput and error graphing).
I went through to give the graphs more meaningful names ("WAN(eth0)" rather than "eth0" and "LAN(eth1)" rather than "eth1") when the graphs stopped rendering in the preview page, but rendered fine when doing the full-view of the graphs (with daily, weekly, monthly, anually graphs).
At first, when I turned on rrdtool debug output, I was just getting errors along the lines of:
Code: Select all
ERROR: parameter '#FFAB00' does not represent a number in LINE1:#FFAB00:Discards In
in cacti.log, I have these errors:
Code: Select all
03/05/2007 02:15:56 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select CONCAT_WS('', case when host.description is null then 'No Host - ' when host.description is not null then '' end,data_template_data.name_cache,' (',data_template_rrd.data_source_name,')') as name, data_template_rrd.id from (data_template_data,data_template_rrd,data_local) left join host on (data_local.host_id=host.id) where data_template_rrd.local_data_id=data_local.id and data_template_data.local_data_id=data_local.id and data_local.host_id=1 order by name"
03/05/2007 02:15:56 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select CONCAT_WS('', case when host.description is null then 'No Host - ' when host.description is not null then '' end,data_template_data.name_cache,' (',data_template_rrd.data_source_name,')') as name, data_template_rrd.id from (data_template_data,data_template_rrd,data_local) left join host on (data_local.host_id=host.id) where data_template_rrd.local_data_id=data_local.id and data_template_data.local_data_id=data_local.id and data_local.host_id=1 order by name"
03/05/2007 02:15:56 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select CONCAT_WS('', case when host.description is null then 'No Host - ' when host.description is not null then '' end,data_template_data.name_cache,' (',data_template_rrd.data_source_name,')') as name, data_template_rrd.id from (data_template_data,data_template_rrd,data_local) left join host on (data_local.host_id=host.id) where data_template_rrd.local_data_id=data_local.id and data_template_data.local_data_id=data_local.id and data_local.host_id=1 order by name"
03/05/2007 02:15:56 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select CONCAT_WS('', case when host.description is null then 'No Host - ' when host.description is not null then '' end,data_template_data.name_cache,' (',data_template_rrd.data_source_name,')') as name, data_template_rrd.id from (data_template_data,data_template_rrd,data_local) left join host on (data_local.host_id=host.id) where data_template_rrd.local_data_id=data_local.id and data_template_data.local_data_id=data_local.id and data_local.host_id=1 order by name"
running poller.php produces no errors on the commandline.
I checked my mysql database to for corruption (as I saw in a post during some mass-googling) and it's working fine.
I'm running:
Gentoo Linux
Apache 2.0.58
PHP 5.1.6
mysql 5.0.26
cacti 0.8.6j
if I left out any info, let me know.
Thanks in advance!