I've used cacti on and off for years now but this is the biggest problem I've had and I can't work it out.
Just installed a fresh cacti app onto a gentoo server. mysql is sitting on a solaris box.
When I try to create graphs it doesn't create the rra's and I'm having to create them manually (permissions are fine for the webserver).
Even when I create the rra's, I'm unable to select the data sources in the graph management, I just get "none" as my only option in the drop down list.
I'm also getting this error littered through my logs:
07/05/2008 02:52:58 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1271', SQL:"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"
In short, I'm not getting anything out of cacti, i have tried everything I can think of but no graphs are showing any data.
Thanks in advance.
Matt
new install, many problems
Moderators: Developers, Moderators
-
- Posts: 12
- Joined: Fri Dec 17, 2004 5:13 am
- Location: wiltshire, england
- Contact:
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: new install, many problems
It's the poller that needs to be able to write to that directory, not the webserver. Possibly that would explain why rrds are not created, and then not updated either.iwasinnamuknow wrote:When I try to create graphs it doesn't create the rra's and I'm having to create them manually (permissions are fine for the webserver).
For the SQL error, try pasting that SQL into the mysql command-line tool, and see what error *it* gives - should be more than just "failed". Might give you some clue.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 12
- Joined: Fri Dec 17, 2004 5:13 am
- Location: wiltshire, england
- Contact:
Ok I've got things graphing now, it was an issue with the account running the poller. RRAs are now being create automatically and data is appearing in the graphs.
Another problem, when I try to change the colour on any of the graph items, FF gets appended to the 6 character hex string and rrd chokes on this.
For example, I use the drop down box to select a colour, say 4444ff. When I save this it becomes 4444ffff and i get this in the debug info:
ERROR: parameter '#4444FFFF' does not represent a number in line AREA:#4444FFFF:CPU Utilization
No matter which colour I select, It always adds FF on the end and thus breaks my graph. I've been going through the database for an hour trying to find where to restore (or manually change) the colours so the graphs work again but to no avail so far.
Another problem, when I try to change the colour on any of the graph items, FF gets appended to the 6 character hex string and rrd chokes on this.
For example, I use the drop down box to select a colour, say 4444ff. When I save this it becomes 4444ffff and i get this in the debug info:
ERROR: parameter '#4444FFFF' does not represent a number in line AREA:#4444FFFF:CPU Utilization
No matter which colour I select, It always adds FF on the end and thus breaks my graph. I've been going through the database for an hour trying to find where to restore (or manually change) the colours so the graphs work again but to no avail so far.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Does your rrdtool version match the one in the Cacti settings? Those extra digits are Alpha (transparency) values, which aren't supported in rrdtool 1.0.x if I remember correctly.iwasinnamuknow wrote:Ok I've got things graphing now, it was an issue with the account running the poller. RRAs are now being create automatically and data is appearing in the graphs.
Another problem, when I try to change the colour on any of the graph items, FF gets appended to the 6 character hex string and rrd chokes on this.
For example, I use the drop down box to select a colour, say 4444ff. When I save this it becomes 4444ffff and i get this in the debug info:
ERROR: parameter '#4444FFFF' does not represent a number in line AREA:#4444FFFF:CPU Utilization
No matter which colour I select, It always adds FF on the end and thus breaks my graph. I've been going through the database for an hour trying to find where to restore (or manually change) the colours so the graphs work again but to no avail so far.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 12
- Joined: Fri Dec 17, 2004 5:13 am
- Location: wiltshire, england
- Contact:
-
- Posts: 12
- Joined: Fri Dec 17, 2004 5:13 am
- Location: wiltshire, england
- Contact:
Who is online
Users browsing this forum: No registered users and 2 guests