Larry - any joy with the above please ?TheWitness wrote:Don't expect anything today. I'm on a plane in a bit for a while anyway.
Larry
Thanks
Moderators: Developers, Moderators
Solved this myself. For those who are interested, amend setup.php of THOLD (if you have it installed), and look for the linemcutting wrote:Larry - any joy with the above please ?TheWitness wrote:Don't expect anything today. I'm on a plane in a bit for a while anyway.
Larry
Thanks
Code: Select all
function thold_graphs_action_prepare($save) {
global $colors, $config;
Code: Select all
function thold_graphs_action_prepare($save) {
global $colors, $config;
return $save;
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Larry,TheWitness wrote:Mcutting,
But report in Mantis please.
TheWitness
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Best regards.Notice: Undefined index: keys in /var/www/cacti/lib/plugins.php on line 128
Warning: Invalid argument supplied for foreach() in /var/www/cacti/lib/plugins.php on line 128
Notice: Undefined index: keys in /var/www/cacti/lib/plugins.php on line 128
Warning: Invalid argument supplied for foreach() in /var/www/cacti/lib/plugins.php on line 128
I´d just download the tgz file, uncompress to /cacti_path/plugins/ and select install from the Plugin Management.gandalf wrote:How did you setup the plugin? Any other plugins installed? Please post a screenshot of the Plugin Management as well
Reinhard
Code: Select all
$plugins = array();
//$plugins[] = 'thold';
/* Do not edit this line */
$config = array();
/*
Edit this to point to the default URL of your Cacti install
ex: if your cacti install as at http://serverip/cacti/ this
would be set to /cacti/
*/
$config['url_path'] = '/cacti/';
define('URL_PATH', $config['url_path']);
The graph command (yes, I've checked the Items for spaces in the comment field):+ Found item [ifDescr='TenGigabitEthernet1/49'] index: 49 [from value]
+ Found item [ifDescr='TenGigabitEthernet1/50'] index: 50 [from value]
Code: Select all
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="AccsC4948-Rack3a - Traffic - TenGb" \
--rigid \
--base=1000 \
--height=120 \
--width=600 \
--alt-autoscale \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:11: \
--font AXIS:7: \
--font LEGEND:9: \
--font UNIT:7: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/2/31.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/2/31.rrd":traffic_out:AVERAGE \
DEF:c="C\:/Inetpub/wwwroot/cacti/rra/2/32.rrd":traffic_in:AVERAGE \
DEF:d="C\:/Inetpub/wwwroot/cacti/rra/2/32.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,-8,* \
CDEF:cdefh=b,8,* \
CDEF:cdefba=c,8,* \
CDEF:cdefbf=d,-8,* \
CDEF:cdefbh=d,8,* \
LINE1:cdefa#004359FF:"TenGigabitEthernet1/49 Inbound" \
AREA:cdefa#00435919:"" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdeff#EACC00FF:"TenGigabitEthernet1/49 Outbound" \
AREA:cdeff#EACC0019:"" \
GPRINT:cdefh:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefh:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefh:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefba#005D57FF:"TenGigabitEthernet1/50 Inbound" \
AREA:cdefba#005D5719:"" \
GPRINT:cdefba:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefba:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefba:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefbf#FFAB00FF:"TenGigabitEthernet1/50 Outbound" \
AREA:cdefbf#FFAB0019:"" \
GPRINT:cdefbh:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbh:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbh:MAX:"Maximum\:%8.2lf %s\n"
And when I try to create an aggregate graph from several graphs (citrix sessions), nothing happens (hit Yes, and it brings me back on the graph manager list).Notice: Undefined index: keys in /usr/share/cacti/site/lib/plugins.php on line 128
Warning: Invalid argument supplied for foreach() in /usr/share/cacti/site/lib/plugins.php on line 128
Notice: Undefined index: keys in /usr/share/cacti/site/lib/plugins.php on line 128
Warning: Invalid argument supplied for foreach() in /usr/share/cacti/site/lib/plugins.php on line 128
Ok, this qualifies for a bug. Give me some time ...guigzmorez wrote:Hi Gandalf,
Find below a possible issue using Aggregate :
I have changed the grah template colour and it affected the behaviour of aggregated graphs : Colour modification and legend destruction (check the Inbound part).
See the examples below. Tested with 2 kind of graph, one using the graph template original colours, one using a colour template, the behaviour is the same.
The 2 first graphs show aggregated graphs AFTER GT Inbound item colour modification.
The 2 lasts graphs show aggregated graphs BEFORE GT Inbound item colour modification.
Regards,
Guigzmorez
Users browsing this forum: No registered users and 1 guest