No value in Total In/Out for aggregate graphs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
aldosinjari
Posts: 5
Joined: Tue Oct 12, 2021 4:22 am

No value in Total In/Out for aggregate graphs

Post by aldosinjari »

Hi,

I have Cacti 1.2.27 and i am having some problem with Aggregate graphs. I can't see anymore the Total In or Total Out values in the aggregate. It just shows "sum:auto:aggregate_sum:2:auto"
It has worked before.

Below the RRD:

RRDtool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='1733240220' \
--end='1733326342' \
--pango-markup \
--title='Berat OLT' \
--vertical-label='bytes per second' \
--slope-mode \
--base=1000 \
--height=200 \
--width=700 \
--rigid \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2024-12-03 16\:37\:00 To 2024-12-04 16\:32\:22\c" \ COMMENT:" \n" \ --color BACK#F3F3F3 \ --color CANVAS#FDFDFD \ --color SHADEA#CBCBCB \ --color SHADEB#999999 \ --color FONT#000000 \ --color AXIS#2C4D43 \ --color ARROW#2C4D43 \ --color FRAME#2C4D43 \ --border 1 \ --font TITLE:11:'Arial' \ --font AXIS:8:'Arial' \ --font LEGEND:8:'Courier' \ --font UNIT:8:'Arial' \ --font WATERMARK:6:'Arial' \ --slope-mode \ --watermark 'Generated by Cacti®' \

DEF:a='/usr/share/cacti/rra/berat_traffic_in_37222.rrd':'traffic_in':AVERAGE
\

DEF:b='/usr/share/cacti/rra/berat_traffic_in_37222.rrd':'traffic_out':AVERAGE
\
CDEF:cdefa='a,0,*' \
CDEF:cdefb='b,0,*' \
CDEF:cdefc='TIME,1733326407,GT,a,a,UN,0,a,IF,IF' \ CDEF:cdefh='TIME,1733326407,GT,b,b,UN,0,b,IF,IF' \
AREA:cdefa#00CF007F: \
AREA:cdefb#002A977F: \
AREA:cdefc#00CF007F::STACK \
GPRINT:cdefc:LAST:'Current\:%8.2lf %s' \ GPRINT:cdefc:AVERAGE:'Average\:%8.2lf %s' \ GPRINT:cdefc:MAX:'Maximum\:%8.2lf %s' \ COMMENT:'Total In\: |sum\:auto\:aggregate_sum\:2\:auto|\n' \ AREA:cdefh#002A977F::STACK \ GPRINT:cdefh:LAST:'Current\:%8.2lf %s' \ GPRINT:cdefh:AVERAGE:'Average\:%8.2lf %s' \ GPRINT:cdefh:MAX:'Maximum\:%8.2lf %s' \ COMMENT:'Total Out\: |sum\:auto\:aggregate_sum\:2\:auto|\n'[/b]
RRDtool Command lengths = 1479 characters.
RRDtool Says:
OK


Thank you
Attachments
Cacti-Total.jpg
Cacti-Total.jpg (147.39 KiB) Viewed 298 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: No value in Total In/Out for aggregate graphs

Post by TheWitness »

Check the changelog for 1.2.28 and 1.2.29. There have been some recent changes and bug fixes.
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?
aldosinjari
Posts: 5
Joined: Tue Oct 12, 2021 4:22 am

Re: No value in Total In/Out for aggregate graphs

Post by aldosinjari »

Thank you @TheWitness for the reply.

I found changelog for 1.2.28 but there wasn't mentioned anything regarding this issue. I could not find changelog for 1.2.29.

If one of this version has the fix, does it mean i need to upgrade to that version or can it be fixed via some kind of patch on my current version. As i said it has worked before.

Thank you.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: No value in Total In/Out for aggregate graphs

Post by TheWitness »

To be honest it's just easier to upgrade. I use a 5 line script to upgrade. It takes about a minute to run.
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?
aldosinjari
Posts: 5
Joined: Tue Oct 12, 2021 4:22 am

Re: No value in Total In/Out for aggregate graphs

Post by aldosinjari »

If i upgrade, will i lose the configuration that i have? Like templates, plugins, aggregates etc?

Thank you.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: No value in Total In/Out for aggregate graphs

Post by TheWitness »

No. Just don't import any new packages.

Code: Select all

cd /var/www/html
git clone -b 1.2.x https://github.com/cacti/cacti.git cacti-dev
/bin/cp -rpf cacti-dev/* cacti
chown apache:apache cacti
Then refresh your browser with F5.

That's for 1.2.29. Stay away from 1.3 unless you are there already. If so, take away the -b 1.2.29 option.
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?
aldosinjari
Posts: 5
Joined: Tue Oct 12, 2021 4:22 am

Re: No value in Total In/Out for aggregate graphs

Post by aldosinjari »

Ok i will stay away from 1.3 :)
I will try to upgrade. Thank you very much.
aldosinjari
Posts: 5
Joined: Tue Oct 12, 2021 4:22 am

Re: No value in Total In/Out for aggregate graphs

Post by aldosinjari »

Just an update on this.
I upgraded from version 1.2.27 to 1.2.28 but the problem remains.
I rooled back to old snapshot because i had some problems with historical data.

Thank you.
Post Reply

Who is online

Users browsing this forum: mustafakarakusa and 2 guests