Yes! Perfectly!! (as far as I can tell)timi wrote:v0.64 works with 0.8.7a and pa 1.4 ?
Aggregate, now at V0.66
Moderators: Developers, Moderators
-
- Posts: 23
- Joined: Mon Dec 10, 2007 9:19 pm
-
- Posts: 23
- Joined: Mon Dec 10, 2007 9:19 pm
If you make the aggregate a area/stack graph, then you can easily see X + Y. There are probably more sophisticated ways you could do this type of thing as well, but I'm not an expert. I think this is the sort of thing CDEFs can be used for, but I don't know how myself.keefe007 wrote:From what I can tell this isn't actually merging two sets of data together, its just overlaying two graphs.
Can you make it so the graph will actually show the values of X + Y, instead of showing X and Y on the graph over eachother?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
I suppose it is now time to add the fifth cacti installation to my laptop: 087a with PIA ...timi wrote:hmm, there is something strange:
have a lok before creating an aggregate graph and after
there is a new host, but when I select the () it says "Validation error. "
cacti 0.8.7a and pa 1.4
ATM, I can't test this.
Reinhard
problem with my aggregation
Just install the plugin, everything works except rrdtool complained.
cacti Version 0.8.6j
aggreator = 0.64
plugin = 1.1
Looks like it doesn't have any DEF defined. I just picked couple graphs that's using the same graph templates and create a test aggregation graph. Where can I debug this further?
thanks,
mark
cacti Version 0.8.6j
aggreator = 0.64
plugin = 1.1
Looks like it doesn't have any DEF defined. I just picked couple graphs that's using the same graph templates and create a test aggregation graph. Where can I debug this further?
thanks,
mark
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="CPC - app request at 99th" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
AREA:#FFD660:"app201.x.y.com 99th Percentile\n" \
GPRINT::LAST:"app201.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app202.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app202.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app204.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app204.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app206.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app206.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app207.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app207.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app208.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app208.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app209.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app209.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app210.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app210.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app211.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app211.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app212.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app212.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app213.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app213.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app214.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app214.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app215.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app215.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app216.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app216.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app217.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app217.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app251.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app251.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#FFD660:"app252.x.y.com 99th Percentile\n":STACK \
GPRINT::LAST:"app252.x.y.com Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: parameter '#FFD660' does not represent a number in line AREA:#FFD660:app201.x.y.com 99th Percentile\n
oh well, I can live with that, the aggregated graphs are showing correctly anyway...gandalf wrote:I suppose it is now time to add the fifth cacti installation to my laptop: 087a with PIA ...timi wrote:hmm, there is something strange:
have a lok before creating an aggregate graph and after
there is a new host, but when I select the () it says "Validation error. "
cacti 0.8.7a and pa 1.4
ATM, I can't test this.
Reinhard
Since most of my traffic is one-way I didn't notice this until now. My graph is actually aggregating but its doing it backwards. Inbound on graph 1 is being added to Outbound on graph 2 and Outbound on graph 1 is being added to inbound on graph 2. Any suggestions?gandalf wrote:Please post a screenshot of your aggregate when visiting the aggregate graph at Graph Management and switching to DEBUG mode
Reinhard
-
- Posts: 40
- Joined: Thu Feb 26, 2004 10:30 am
- Location: Saint Louis
Error: Save Failed.
I'm trying to create new color templates... None exist after the install so when going to the "add", enter my name and hit save - I get a response "Error: Save Failed."
I didn't see anything in the debug logs:
Info:
Any ideas?
I didn't see anything in the debug logs:
Code: Select all
01/23/2008 03:43:04 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
01/23/2008 03:43:04 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
01/23/2008 03:43:04 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
01/23/2008 03:43:04 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='anonymous'"
01/23/2008 03:43:04 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
01/23/2008 03:43:01 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
01/23/2008 03:43:01 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
01/23/2008 03:43:01 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
01/23/2008 03:43:01 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='anonymous'"
01/23/2008 03:43:01 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
01/23/2008 03:42:55 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
01/23/2008 03:42:55 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
01/23/2008 03:42:55 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='72'"
01/23/2008 03:42:55 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='anonymous'"
01/23/2008 03:42:55 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
01/23/2008 03:42:55 PM - CMDPHP: Poller[0] AGGREGATE Saved ID: 0
01/23/2008 03:42:55 PM - CMDPHP: Poller[0] AGGREGATE Save ID: 0 Name: test
01/23/2008 03:42:55 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='72'"
01/23/2008 03:42:55 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='anonymous'"
01/23/2008 03:42:55 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
01/23/2008 03:42:52 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
01/23/2008 03:42:52 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
01/23/2008 03:42:52 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='72'"
01/23/2008 03:42:52 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='anonymous'"
01/23/2008 03:42:52 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
01/23/2008 03:42:50 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT plugin_color_templates.color_template_id, plugin_color_templates.name FROM plugin_color_templates WHERE (plugin_color_templates.name LIKE '%%%%') ORDER BY name ASC LIMIT 0,45"
01/23/2008 03:42:50 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT plugin_color_templates.color_template_id, plugin_color_templates.name FROM plugin_color_templates WHERE (plugin_color_templates.name LIKE '%%%%') ORDER BY name ASC LIMIT 0,45"
01/23/2008 03:42:50 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1146', SQL:"SELECT COUNT(plugin_color_templates.color_template_id) FROM plugin_color_templates WHERE (plugin_color_templates.name LIKE '%%%%')"
01/23/2008 03:42:50 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "SELECT COUNT(plugin_color_templates.color_template_id) FROM plugin_color_templates WHERE (plugin_color_templates.name LIKE '%%%%')"
01/23/2008 03:42:50 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
01/23/2008 03:42:50 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
01/23/2008 03:42:50 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='72'"
01/23/2008 03:42:50 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='anonymous'"
01/23/2008 03:42:50 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
This was a brand new install...Cacti Version - 0.8.7a
Plugin Architecture - 1.4
Poller Type - CMD.php
Server Info - AIX 3
Web Server - Apache/1.3.27 (Unix) PHP/4.3.10
PHP - 4.3.10
PHP Extensions - xml, tokenizer, standard, session, posix, pcre, overload, mysql, ctype, apache
MySQL - 3.23.47
RRDTool - 1.2.13
SNMP - /usr/local/bin/snmpwalk: not found.
Plugins
- Thresholds (thold - v0.3.
Host Info (hostinfo - v0.2)
Global Plugin Settings (settings - v0.3)
Create Aggregate Graphs (aggregate - v0.64)
Any ideas?
-
- Posts: 40
- Joined: Thu Feb 26, 2004 10:30 am
- Location: Saint Louis
MIA
That was my first thought but I didn't have the two minutes to look through your setup files to see where the SQL was that created the tables.gandalf wrote:Please check, wether the table plugin_color_templates exists in your cacti database. If not, I suppose this is due to some mysql strict checking (which may be a result of my sub-optimal SQL definition )
Reinhard
The plugin_color_templates is actually missing.
I know that earlier versions had some SQL that could be run - or do you have the snippit of SQL that I can run to create the table?
Thanks!
_DS
Who is online
Users browsing this forum: No registered users and 0 guests