Aggregrate graph is blank
Moderators: Developers, Moderators
Aggregrate graph is blank
Hello,
Running CACTI version 1.2.17 on a Windows server.
I created an aggregate graph using 3 working graphs.
When I Preview the aggregate it shows as a blank page.
I turned on Graph Debug and at the bottom shows ERROR: don't understand ',8,*'
RRDtool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start="-86400" \
--end="-300" \
--pango-markup \
--title="Ashburn WAN usage" \
--vertical-label="bits per second" \
--slope-mode \
--base=1000 \
--height=120 \
--width=600 \
--tabwidth "30" \
--rigid \
--alt-autoscale-max \
--lower-limit="0" \
COMMENT:"From 2023/01/02 12\:53\:59 To 2023/01/03 12\:48\:59\c" \
COMMENT:" \n" \
--border 1 --font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
--font WATERMARK:8: \
--slope-mode \
--watermark "Generated by Cacti®" \
DEF:a="C\:/inetpub/wwwroot/cacti/rra/hfddccoc1_traffic_in_2255.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/inetpub/wwwroot/cacti/rra/hfddccoc1_traffic_in_2255.rrd":"traffic_out":AVERAGE \
DEF:c="C\:/inetpub/wwwroot/cacti/rra/hfddccoc1_traffic_in_2255.rrd":"traffic_out":MAX \
DEF:d="C\:/inetpub/wwwroot/cacti/rra/hfddccoc2_traffic_in_2268.rrd":"traffic_in":AVERAGE \
DEF:e="C\:/inetpub/wwwroot/cacti/rra/hfddccoc2_traffic_in_2268.rrd":"traffic_out":AVERAGE \
DEF:f="C\:/inetpub/wwwroot/cacti/rra/hfddccoc2_traffic_in_2268.rrd":"traffic_out":MAX \
DEF:g="C\:/inetpub/wwwroot/cacti/rra/hfddccoc2_traffic_in_2273.rrd":"traffic_in":AVERAGE \
DEF:h="C\:/inetpub/wwwroot/cacti/rra/hfddccoc2_traffic_in_2273.rrd":"traffic_out":AVERAGE \
DEF:i="C\:/inetpub/wwwroot/cacti/rra/hfddccoc2_traffic_in_2273.rrd":"traffic_out":MAX \
CDEF:cdefa="a,0,*" \
CDEF:cdefb="b,0,*" \
CDEF:cdefc="c,0,*" \
CDEF:cdefd="d,0,*" \
CDEF:cdefe="e,0,*" \
CDEF:cdeff="f,0,*" \
CDEF:cdefg="g,0,*" \
CDEF:cdefh="h,0,*" \
CDEF:cdefi="i,0,*" \
CDEF:cdefj=",8,*" \
CDEF:cdefbd="TIME,1672768139,GT,c,c,UN,0,c,IF,IF,TIME,1672768139,GT,f,f,UN,0,f,IF,IF,TIME,1672768139,GT,i,i,UN,0,i,IF,IF,+,+,8,*" \
AREA:cdefa#00CF00FF: \
LINE1:cdefb#002A97FF: \
LINE1:cdefc#002A97FF: \
AREA:cdefd#00CF00FF: \
LINE1:cdefe#002A97FF: \
LINE1:cdeff#002A97FF: \
AREA:cdefg#00CF00FF: \
LINE1:cdefh#002A97FF: \
LINE1:cdefi#002A97FF: \
AREA:cdefj#00CF00FF: \
GPRINT:cdefj:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefj:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefj:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefbd#002A97FF: \
LINE1:cdefbd#002A97FF:"Total\n"
RRDtool Command lengths = 2069 charaters.
RRDtool Says:
ERROR: don't understand ',8,*'
Any ideas what causes this error and how to resolve it?
Thanks
Running CACTI version 1.2.17 on a Windows server.
I created an aggregate graph using 3 working graphs.
When I Preview the aggregate it shows as a blank page.
I turned on Graph Debug and at the bottom shows ERROR: don't understand ',8,*'
RRDtool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start="-86400" \
--end="-300" \
--pango-markup \
--title="Ashburn WAN usage" \
--vertical-label="bits per second" \
--slope-mode \
--base=1000 \
--height=120 \
--width=600 \
--tabwidth "30" \
--rigid \
--alt-autoscale-max \
--lower-limit="0" \
COMMENT:"From 2023/01/02 12\:53\:59 To 2023/01/03 12\:48\:59\c" \
COMMENT:" \n" \
--border 1 --font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
--font WATERMARK:8: \
--slope-mode \
--watermark "Generated by Cacti®" \
DEF:a="C\:/inetpub/wwwroot/cacti/rra/hfddccoc1_traffic_in_2255.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/inetpub/wwwroot/cacti/rra/hfddccoc1_traffic_in_2255.rrd":"traffic_out":AVERAGE \
DEF:c="C\:/inetpub/wwwroot/cacti/rra/hfddccoc1_traffic_in_2255.rrd":"traffic_out":MAX \
DEF:d="C\:/inetpub/wwwroot/cacti/rra/hfddccoc2_traffic_in_2268.rrd":"traffic_in":AVERAGE \
DEF:e="C\:/inetpub/wwwroot/cacti/rra/hfddccoc2_traffic_in_2268.rrd":"traffic_out":AVERAGE \
DEF:f="C\:/inetpub/wwwroot/cacti/rra/hfddccoc2_traffic_in_2268.rrd":"traffic_out":MAX \
DEF:g="C\:/inetpub/wwwroot/cacti/rra/hfddccoc2_traffic_in_2273.rrd":"traffic_in":AVERAGE \
DEF:h="C\:/inetpub/wwwroot/cacti/rra/hfddccoc2_traffic_in_2273.rrd":"traffic_out":AVERAGE \
DEF:i="C\:/inetpub/wwwroot/cacti/rra/hfddccoc2_traffic_in_2273.rrd":"traffic_out":MAX \
CDEF:cdefa="a,0,*" \
CDEF:cdefb="b,0,*" \
CDEF:cdefc="c,0,*" \
CDEF:cdefd="d,0,*" \
CDEF:cdefe="e,0,*" \
CDEF:cdeff="f,0,*" \
CDEF:cdefg="g,0,*" \
CDEF:cdefh="h,0,*" \
CDEF:cdefi="i,0,*" \
CDEF:cdefj=",8,*" \
CDEF:cdefbd="TIME,1672768139,GT,c,c,UN,0,c,IF,IF,TIME,1672768139,GT,f,f,UN,0,f,IF,IF,TIME,1672768139,GT,i,i,UN,0,i,IF,IF,+,+,8,*" \
AREA:cdefa#00CF00FF: \
LINE1:cdefb#002A97FF: \
LINE1:cdefc#002A97FF: \
AREA:cdefd#00CF00FF: \
LINE1:cdefe#002A97FF: \
LINE1:cdeff#002A97FF: \
AREA:cdefg#00CF00FF: \
LINE1:cdefh#002A97FF: \
LINE1:cdefi#002A97FF: \
AREA:cdefj#00CF00FF: \
GPRINT:cdefj:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefj:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefj:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefbd#002A97FF: \
LINE1:cdefbd#002A97FF:"Total\n"
RRDtool Command lengths = 2069 charaters.
RRDtool Says:
ERROR: don't understand ',8,*'
Any ideas what causes this error and how to resolve it?
Thanks
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Aggregrate graph is blank
Are you using a Template or just a strait up Aggregate? Upload a screen shot of your Aggregate Template/Graph. The form data.
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?
Re: Aggregrate graph is blank
Hi,
Using a aggregate template. Please let me know what additional info I can provide.
Thanks
Using a aggregate template. Please let me know what additional info I can provide.
Thanks
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Aggregrate graph is blank
This might be a bug. Can you turn off the MAX data sources on both the inbound and the outbound and just enable the AVERAGE?
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?
Re: Aggregrate graph is blank
Hi,
Thanks for your quick replies.
Disabled the MAX statements and it did allow the graph to display.
I found that enabling the first two MAX statements the graph did still display.
When I enabled the 3rd MAX statement that is when the graph goes blank again and gets the error.
The problem with not having the 3 MAX statements is that we do not see the totals for the inbound and outbound links.
Is there a work around for this?
Thanks again.
Thanks for your quick replies.
Disabled the MAX statements and it did allow the graph to display.
I found that enabling the first two MAX statements the graph did still display.
When I enabled the 3rd MAX statement that is when the graph goes blank again and gets the error.
The problem with not having the 3 MAX statements is that we do not see the totals for the inbound and outbound links.
Is there a work around for this?
Thanks again.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Aggregrate graph is blank
Being that so much has changed since 1.2.17, I would first recommend an upgrade. Then, if the problem still exists in 1.2.23, then open a bug on GitHub. I think it's pretty easy to reproduce.
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:
Re: Aggregrate graph is blank
Seems to be working on 1.2.23. But I would also suggest you spend more time on Aggregate and compare the numbers you see in various rendering forms. Having MAX and AVERAGE on the same graph requires that you use a different manipulation method otherwise, in the example you gave, you will not see the peaks.
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:
Re: Aggregrate graph is blank
Also, I think I know what you are trying to accomplish, and right now, it does not look possible. A feature request on GitHub is in order. Something to the affect.
- Total the Average's of like items and keep their type (area)
- Total the Max's of like items and their their type (line)
Wish it did that. Sounds like a perfect aggregate to me. Sadly, it'll need an enhancement.
- Total the Average's of like items and keep their type (area)
- Total the Max's of like items and their their type (line)
Wish it did that. Sounds like a perfect aggregate to me. Sadly, it'll need an enhancement.
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?
Re: Aggregrate graph is blank
I'll pursue the update and it needed open a bug.
Thanks for your assistance and suggestions.
Thanks for your assistance and suggestions.
Re: Aggregrate graph is blank
i have the same problem ,i have raised the cacti version from 1.2.20 to 1.2.23. found the same problem ,Aggregrate graph is blank:
error:CMDPHP PHP ERROR NOTICE Backtrace: (/aggregate_graphs.php[66]:graph_edit(), /aggregate_graphs.php[799]:rrdtool_function_graph(), /lib/rrd.php[1456]:rrd_function_process_graph_options(), /lib/rrd.php[1108]:CactiErrorHandler())
2023-02-06 14:52:30 - ERROR PHP NOTICE: Undefined offset: 0 in file: /data/www/cacti/lib/rrd.php on line: 1108
error:CMDPHP PHP ERROR NOTICE Backtrace: (/aggregate_graphs.php[66]:graph_edit(), /aggregate_graphs.php[799]:rrdtool_function_graph(), /lib/rrd.php[1456]:rrd_function_process_graph_options(), /lib/rrd.php[1108]:CactiErrorHandler())
2023-02-06 14:52:30 - ERROR PHP NOTICE: Undefined offset: 0 in file: /data/www/cacti/lib/rrd.php on line: 1108
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Aggregrate graph is blank
Can you pull the 1.2.x version from GitHub, and if this issue persists after that, please open a bug on GitHub.
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 6 guests