Aggreate not using color templates

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

Moderators: Developers, Moderators

Post Reply
nicolatron
Posts: 40
Joined: Mon Jan 28, 2008 4:11 am

Aggreate not using color templates

Post by nicolatron »

Hello,
I'm trying to create and aggregate template to show LACP interfaces and be able to detect if some interface is underused and maybe needs a twist in the balancing algorithm.
I've tried to follow the old pdf guide to Aggregate pluing and came to a result similar to my goal, but for some reason color templates are not being used. Also in the Totals, the "Total Inbound" is missing in the legend.

I've created a graph template with outbound CDEF "turn bytes into bits, make negative" (for outbound traffic).
And a template aggregate using that template.

This is how my graph template looks like:
graph_template
graph_template
Captura de pantalla de 2021-03-31 14-20-48.png (135.23 KiB) Viewed 2807 times

This is how the Aggregate template looks like:
aggregate_template
aggregate_template
Captura de pantalla de 2021-03-31 14-22-34.png (96.82 KiB) Viewed 2807 times

And this is the result when applied to 4 graphs aggregated using the agg template:
aggregate graph example
aggregate graph example
Captura de pantalla de 2021-03-31 14-24-31_edited.png (84.88 KiB) Viewed 2807 times

From the debugging (and the actual colors, but I'm color blind so i prefer textual evidences) it seems to use the colors defined in the graph template instead of the color templates indicated in the agg template. I've included the Graph Debug Mode RRDTOOL output txt.

Cacti version 1.2.14 on linux. With database upgraded all the way from 0.8 or 1.0 not sure if I restarted everything at some point.

Thank you very much. I highly appreciate this tool and your job, that makes mine easier and more enjoyable.
Attachments
graph_debug_mode.txt
graph debug mode output
(4.02 KiB) Downloaded 49 times
nicolatron
Posts: 40
Joined: Mon Jan 28, 2008 4:11 am

Re: Aggreate not using color templates

Post by nicolatron »

Items in Aggreagate Template cannot be edited, only the color templates can be changed.
But if i change the colors in the Graph Template to None, what happens is that both "Item color" and "Color Template" go blank. There's no possibility to change Color Template and the graphic itself goes blank.
Also tried to change color templates to None, then back to a color template, but no luck.
nicolatron
Posts: 40
Joined: Mon Jan 28, 2008 4:11 am

Re: Aggreate not using color templates

Post by nicolatron »

Made it work, modifying the default graph template for Interface traffic (bis/sec) and leaving the MAX (LINEs) and everything as they were, only changed the CDEF on outside to turn bytes into negative bits, and the lower boundary, from it created a templated aggretate, and it just works, with gradient colors and all. Don't know what was the problem.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests