rrdtool 1.2 and STACK
Moderators: Developers, Moderators
rrdtool 1.2 and STACK
Hey guys,
I'm using Cacti 0.8.6d with the basic rrdtool 1.2 functionality and have noticed that with the version of rrdtool I'm using (1.2.8) the STACK graph type has been deprecated. When I attempt to use existing templates that have STACK objects the graph doesn't show up.
The error is ERROR: Could not parse color in ''
I have tried setting a colour on all the graph items but then all I get is a graph with only one data source graphed.
Is there any timeframe for cacti to be updated to use the new syntax for graph item stacking (or has someone created a patch to enable it?).
I'm using Cacti 0.8.6d with the basic rrdtool 1.2 functionality and have noticed that with the version of rrdtool I'm using (1.2.8) the STACK graph type has been deprecated. When I attempt to use existing templates that have STACK objects the graph doesn't show up.
The error is ERROR: Could not parse color in ''
I have tried setting a colour on all the graph items but then all I get is a graph with only one data source graphed.
Is there any timeframe for cacti to be updated to use the new syntax for graph item stacking (or has someone created a patch to enable it?).
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
I haven't seen any change with RRDtool 1.2 regarding STACKS (it seems that only COMMENTS format have changed).
Have you changed the "RRDTool Utility Version" to "1.2.X" in the settings ?
Here's an example on my test system (Cacti 0.8.6d + patches w/ RRDtool 1.2.8) :
Here are the graph properties :
I haven't seen any change with RRDtool 1.2 regarding STACKS (it seems that only COMMENTS format have changed).
Have you changed the "RRDTool Utility Version" to "1.2.X" in the settings ?
Here's an example on my test system (Cacti 0.8.6d + patches w/ RRDtool 1.2.8) :
Here are the graph properties :
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="xxxxx - cyclopes - Consommation CPU" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=100 \
--lower-limit=0 \
--vertical-label="CPU" \
--slope-mode \
--font TITLE:9:/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf \
--font AXIS:7:/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf \
--font LEGEND:8:/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf \
--font UNIT:8:/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf \
DEF:a="/cacti/RRD/xxxxx/cyclopes/supervision_cyclopes_cpu_user_415.rrd":cpu_user:AVERAGE \
DEF:b="/cacti/RRD/xxxxx/cyclopes/supervision_cyclopes_cpu_system_411.rrd":cpu_system:AVERAGE \
DEF:c="/cacti/RRD/xxxxx/cyclopes/supervision_cyclopes_cpu_nice_414.rrd":cpu_nice:AVERAGE \
CDEF:cdefbd=a,b,c,+,+ \
AREA:a#EACC00:"User" \
GPRINT:a:LAST:" Actuel\:%8.0lf" \
GPRINT:a:AVERAGE:"Moyenne\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf\n" \
STACK:b#EA8F00:"System" \
GPRINT:b:LAST:"Actuel\:%8.0lf" \
GPRINT:b:AVERAGE:"Moyenne\:%8.0lf" \
GPRINT:b:MAX:"Maximum\:%8.0lf\n" \
STACK:c#FF0000:"Nice" \
GPRINT:c:LAST:" Actuel\:%8.0lf" \
GPRINT:c:AVERAGE:"Moyenne\:%8.0lf" \
GPRINT:c:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Total" \
GPRINT:cdefbd:LAST:"Actuel\:%8.0lf" \
GPRINT:cdefbd:AVERAGE:"Moyenne\:%8.0lf" \
GPRINT:cdefbd:MAX:"Maximum\:%8.0lf\n"
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Yep, all the other graphs except the graph with a STACK in it work. The rrdtool graph man page states that STACK has been deprecated and the new method should be used. This is the command that generates the graph:
This graph works fine with rrdtool-1.4.0.
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="3FL - Icecast - Total Number of Listeners" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="listeners" \
DEF:a="/www/hosted/mrtg/docs/cacti/rra/heimdall_number_249.rrd":number:AVERAGE \
DEF:b="/www/hosted/mrtg/docs/cacti/rra/njord_adelaide_number_251.rrd":number:AVERAGE \
DEF:c="/www/hosted/mrtg/docs/cacti/rra/mimir_melbourne_number_250.rrd":number:AVERAGE \
DEF:d="/www/hosted/mrtg/docs/cacti/rra/sol_sydney_number_252.rrd":number:AVERAGE \
DEF:e="/www/hosted/mrtg/docs/cacti/rra/vidar_brisbane_number_253.rrd":number:AVERAGE \
CDEF:cdeff=TIME,1117788573,GT,a,a,UN,0,a,IF,IF,TIME,1117788573,GT,b,b,UN,0,b,IF,IF,TIME,1117788573,GT,c,c,UN,0,c,IF,IF,TIME,1117788573,GT,d,d,UN,0,d,IF,IF,TIME,1117788573,GT,e,e,UN,0,e,IF,IF,+,+,+,+ \
LINE2:a#:"" \
STACK:b#:"" \
STACK:c#:"" \
STACK:d#:"" \
STACK:e#00CF00:"Listeners\:" \
GPRINT:cdeff:LAST:"Current\:%8.0lf" \
GPRINT:cdeff:AVERAGE:"Average\:%8.0lf" \
GPRINT:cdeff:MAX:"Maximum\:%8.0lf"
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please e-mail me the following:
1) RRDTool graph syntax that is broken
2) the RRD file in question
If it turns out to be a bug, I will forward to the author of RRDtool for resolution.
TheWitness
1) RRDTool graph syntax that is broken
2) the RRD file in question
If it turns out to be a bug, I will forward to the author of RRDtool for resolution.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Taken from the rrdgraph man page (http://people.ee.ethz.ch/~oetiker/webto ... ph.en.html) :
Code: Select all
STACK:vname#color[:legend]
Deprecated. Use the STACK modifiers on the other commands.
AREA:value[#color][:[legend][:STACK]]
See LINE, however the area between the x-axis and the line will be filled.
LINE[width]:value[#color][:[legend][:STACK]]
Draw a line of the specified width onto the graph. width can be a floating point number. If the color is not specified, the drawing is done 'invisibly'. This is useful when stacking something else on top of this line. Also optional is the legend box and string which will be printed in the legend section if specified. The value can be generated by DEF, VDEF, and CDEF. If the optional STACK modifier is used, this line is stacked on top of the previous element which can be a LINE or an AREA.
When you do not specify a color, you cannot specify a legend. Should you want to use STACK, use the ``LINEx:<value>::STACK'' form.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Ok, I will look into it. It will be a patch, but no date yet. It shouldn't take too long, but my weekend is full of family events.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Either way, please send the RRD file and the text to that I can make the changes to rrd.php.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Some problems as well with Stack....
I use rrdtool 1.2.9 and the last version of cacti on AIX.... (I tried to run rrdtool 1.0.x on AIX but it core dump)
Sometime I've some gap in my picture... something which is not really possible because for CPU idle+usr+sys+wio is always equal to 100%
What I found is that the value are not real integer at that time (they should)... But why it does'nt trace it correctly I don't know
Extract of rrd file...
<!-- 2005-06-05 22:00:00 DFT / 1118001600 --> <row><v> 0
.0000000000e+00 </v><v> 9.8000000000e+01 </v><v> 0.0000000000e+00 </v><v> 2.0000
000000e+00 </v></row>
<!-- 2005-06-05 22:05:00 DFT / 1118001900 --> <row><v> 0
.0000000000e+00 </v><v> 9.8000000000e+01 </v><v> 0.0000000000e+00 </v><v> 1.0000
000000e+00 </v></row>
<!-- 2005-06-05 22:10:00 DFT / 1118002200 --> <row><v> 0
.0000000000e+00 </v><v> 9.7000000000e+01 </v><v> 0.0000000000e+00 </v><v> 3.0000
000000e+00 </v></row>
<!-- 2005-06-05 22:15:00 DFT / 1118002500 --> <row><v> 9
.9666666667e-01 </v><v> 9.6003333333e+01 </v><v> 0.0000000000e+00 </v><v> 3.0000
000000e+00 </v></row>
<!-- 2005-06-05 22:20:00 DFT / 1118002800 --> <row><v> 0
.0000000000e+00 </v><v> 9.9000000000e+01 </v><v> 0.0000000000e+00 </v><v> 1.0000
000000e+00 </v></row>
<!-- 2005-06-05 22:25:00 DFT / 1118003100 --> <row><v> 0
.0000000000e+00 </v><v> 9.8000000000e+01 </v><v> 0.0000000000e+00 </v><v> 1.0000
The script I use to fill this rrd is this one :
#more charge_cpu.pl
#!/usr/bin/perl
$load=`sudo -u adm sar 1 1 |tail -1`;
$load =~ s/^.*(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$//;
print "usr:$1 sys:$2 wio:$3 idle:$4";
root#
For the record a little trace of a sar on my server...
#sar 1 10
AIX xxxxxxx 2 5 0035807D4C00 06/06/05
System Configuration: lcpu=2
10:09:40 %usr %sys %wio %idle
10:09:41 0 1 0 99
10:09:43 0 2 0 97
10:09:44 1 1 0 98
10:09:45 0 2 0 98
10:09:46 1 2 0 97
10:09:47 0 1 0 98
10:09:48 0 2 0 98
10:09:49 1 1 0 97
10:09:50 1 1 0 98
10:09:51 0 2 0 97
Average 1 2 0 98
root#
If somebody has a good idea about this problem I'm interested...
Regards,
Sometime I've some gap in my picture... something which is not really possible because for CPU idle+usr+sys+wio is always equal to 100%
What I found is that the value are not real integer at that time (they should)... But why it does'nt trace it correctly I don't know
Extract of rrd file...
<!-- 2005-06-05 22:00:00 DFT / 1118001600 --> <row><v> 0
.0000000000e+00 </v><v> 9.8000000000e+01 </v><v> 0.0000000000e+00 </v><v> 2.0000
000000e+00 </v></row>
<!-- 2005-06-05 22:05:00 DFT / 1118001900 --> <row><v> 0
.0000000000e+00 </v><v> 9.8000000000e+01 </v><v> 0.0000000000e+00 </v><v> 1.0000
000000e+00 </v></row>
<!-- 2005-06-05 22:10:00 DFT / 1118002200 --> <row><v> 0
.0000000000e+00 </v><v> 9.7000000000e+01 </v><v> 0.0000000000e+00 </v><v> 3.0000
000000e+00 </v></row>
<!-- 2005-06-05 22:15:00 DFT / 1118002500 --> <row><v> 9
.9666666667e-01 </v><v> 9.6003333333e+01 </v><v> 0.0000000000e+00 </v><v> 3.0000
000000e+00 </v></row>
<!-- 2005-06-05 22:20:00 DFT / 1118002800 --> <row><v> 0
.0000000000e+00 </v><v> 9.9000000000e+01 </v><v> 0.0000000000e+00 </v><v> 1.0000
000000e+00 </v></row>
<!-- 2005-06-05 22:25:00 DFT / 1118003100 --> <row><v> 0
.0000000000e+00 </v><v> 9.8000000000e+01 </v><v> 0.0000000000e+00 </v><v> 1.0000
The script I use to fill this rrd is this one :
#more charge_cpu.pl
#!/usr/bin/perl
$load=`sudo -u adm sar 1 1 |tail -1`;
$load =~ s/^.*(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$//;
print "usr:$1 sys:$2 wio:$3 idle:$4";
root#
For the record a little trace of a sar on my server...
#sar 1 10
AIX xxxxxxx 2 5 0035807D4C00 06/06/05
System Configuration: lcpu=2
10:09:40 %usr %sys %wio %idle
10:09:41 0 1 0 99
10:09:43 0 2 0 97
10:09:44 1 1 0 98
10:09:45 0 2 0 98
10:09:46 1 2 0 97
10:09:47 0 1 0 98
10:09:48 0 2 0 98
10:09:49 1 1 0 97
10:09:50 1 1 0 98
10:09:51 0 2 0 97
Average 1 2 0 98
root#
If somebody has a good idea about this problem I'm interested...
Regards,
- Attachments
-
- Picture showing the problem....
- pb_cacti.jpg (93.87 KiB) Viewed 12673 times
More information.
Sorry the problem is more on this one...
<!-- 2005-06-04 22:30:00 DFT / 1117917000 --> <row><v> 2
.9900000000e+00 </v><v> 4.8163333333e+01 </v><v> 2.4916666667e+01 </v><v> 4.9900
000000e+00 </v></row>
I should wait before sending information... but what I don't know is the problem is with sar, with rrdtool or with cacti ???
I will put cacti in debug mode to see the value...
<!-- 2005-06-04 22:30:00 DFT / 1117917000 --> <row><v> 2
.9900000000e+00 </v><v> 4.8163333333e+01 </v><v> 2.4916666667e+01 </v><v> 4.9900
000000e+00 </v></row>
I should wait before sending information... but what I don't know is the problem is with sar, with rrdtool or with cacti ???
I will put cacti in debug mode to see the value...
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
We need to issue a patch to update the stack syntax with 1.2.x. However, the RRD's should be updating just fine. I have not had any time to spend on it though.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
We have fixed this in CVS, lib/rrd.php. It will be released with 0.8.6e.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Are there any other files out of CVS I would need other than lib/rrd.php ? I replaced that file with the fixed CVS version and now my graph command looks like this:
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="3FL - Icecast - Total Number of Listeners" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="listeners" \
--slope-mode \
DEF:a="/www/hosted/mrtg/docs/cacti/rra/heimdall_number_249.rrd":number:AVERAGE \
DEF:b="/www/hosted/mrtg/docs/cacti/rra/njord_adelaide_number_251.rrd":number:AVERAGE \
DEF:c="/www/hosted/mrtg/docs/cacti/rra/mimir_melbourne_number_250.rrd":number:AVERAGE \
DEF:d="/www/hosted/mrtg/docs/cacti/rra/sol_sydney_number_252.rrd":number:AVERAGE \
DEF:e="/www/hosted/mrtg/docs/cacti/rra/vidar_brisbane_number_253.rrd":number:AVERAGE \
CDEF:cdeff=TIME,1118120961,GT,a,a,UN,0,a,IF,IF,TIME,1118120961,GT,b,b,UN,0,b,IF,IF,TIME,1118120961,GT,c,c,UN,0,c,IF,IF,TIME,1118120961,GT,d,d,UN,0,d,IF,IF,TIME,1118120961,GT,e,e,UN,0,e,IF,IF,+,+,+,+ \
\
\
\
\
LINE2:e#00CF00:"Listeners\:":STACK \
GPRINT:cdeff:LAST:"Current\:%8.0lf" \
GPRINT:cdeff:AVERAGE:"Average\:%8.0lf" \
GPRINT:cdeff:MAX:"Maximum\:%8.0lf"
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Did you get the lib/rrd.php from BRANCH_0_8_6? If not, try that one. Else please backoff and we will work it out on Wednesday evening.
Larry
Larry
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests