Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggregate graph does not show other percentiles #5555

Closed
DFlexy opened this issue Nov 7, 2023 · 100 comments
Closed

Aggregate graph does not show other percentiles #5555

DFlexy opened this issue Nov 7, 2023 · 100 comments
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Milestone

Comments

@DFlexy
Copy link

DFlexy commented Nov 7, 2023

I have a graph template that is applied to all graphs and aggregates, however when I create the normal graphs I can see the 95th and 99th ones but in the aggregates I cannot see this data as shown in the screenshots below

Normal graph
image

Agregate graph
image

Here model graph for aggregate
image

@DFlexy DFlexy added bug Undesired behaviour unverified Some days we don't have a clue labels Nov 7, 2023
@TheWitness
Copy link
Member

TheWitness commented Nov 13, 2023

Yea, I'm grumbling about this. The it can be included, but the logic is tricky. It only works in a few cases, specifically when you are totaling all data sources.

@TheWitness TheWitness added the confirmed Bug is confirm by dev team label Nov 13, 2023
@TheWitness TheWitness added this to the 1.2.26 milestone Nov 13, 2023
TheWitness added a commit that referenced this issue Nov 18, 2023
* Aggregate graph does not show other percentiles
@TheWitness
Copy link
Member

So, update lib/api_aggregate.php from the 1.2.x branch and then resave the Aggregate Template. Let me know how it goes. It should fix it.

@TheWitness TheWitness added resolved A fixed issue and removed unverified Some days we don't have a clue labels Nov 18, 2023
TheWitness added a commit that referenced this issue Nov 18, 2023
* Additional QA to cover HRULES and Special Comments
TheWitness added a commit that referenced this issue Nov 18, 2023
* Aggregate graph does not show other percentiles
TheWitness added a commit that referenced this issue Nov 18, 2023
* Additional QA to cover HRULES and Special Comments
@TheWitness
Copy link
Member

I did one minor QA to also handle the hrules as well.

@DFlexy
Copy link
Author

DFlexy commented Nov 20, 2023

Hello, I made the adjustments to the lines and nothing, then I replaced the file and nothing.
I'm putting the debugs of the aggregated graphs with the problem and the debug of a simple graph working, remembering that they both use the same template

Version 1.2.25

image

Debug here
RRDtool Command: /usr/bin/rrdtool graph - \ --imgformat=SVG \ --start='-86400' \ --end='-300' \ --pango-markup \ --title='OTHERS' \ --vertical-label='bits por segundo' \ --slope-mode \ --base=1000 \ --height=150 \ --width=700 \ --alt-autoscale \ COMMENT:"From 19-11-2023 08\:43\:04 To 20-11-2023 08\:38\:04\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:9: \ --font AXIS:8: \ --font LEGEND:9: \ --font UNIT:8: \ --font WATERMARK:8: \ --slope-mode \ --watermark 'Por ' \ DEF:a='/usr/share/cacti/rra/10_10_10_10_traffic_in_1148.rrd':'traffic_in':AVERAGE \ DEF:b='/usr/share/cacti/rra/10_10_10_10_traffic_in_1148.rrd':'traffic_out':AVERAGE \ DEF:c='/usr/share/cacti/rra/10_10_10_10_traffic_in_1238.rrd':'traffic_in':AVERAGE \ DEF:d='/usr/share/cacti/rra/10_10_10_10_traffic_in_1238.rrd':'traffic_out':AVERAGE \ CDEF:cdefa='a,0,*' \ CDEF:cdefb='b,0,*' \ CDEF:cdefc='c,0,*' \ CDEF:cdefd='d,0,*' \ CDEF:cdefe='TIME,1700480284,GT,a,a,UN,0,a,IF,IF,TIME,1700480284,GT,c,c,UN,0,c,IF,IF,+,8,*' \ CDEF:cdefi='TIME,1700480284,GT,b,b,UN,0,b,IF,IF,TIME,1700480284,GT,d,d,UN,0,d,IF,IF,+,8,*' \ AREA:cdefa#306EFF7F: \ AREA:cdefb#E8A3177F: \ AREA:cdefc#306EFF7F: \ AREA:cdefd#E8A3177F: \ AREA:cdefe#306EFF7F:'Total Inbound ' \ GPRINT:cdefe:LAST:'Current\:%8.2lf %s' \ GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \ GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n' \ AREA:cdefi#E8A3177F:'Total Outbound' \ GPRINT:cdefi:LAST:'Current\:%8.2lf %s' \ GPRINT:cdefi:AVERAGE:'Average\:%8.2lf %s' \ GPRINT:cdefi:MAX:'Maximum\:%8.2lf %s\n' \ COMMENT:' \n' \ HRULE:62026371223.2#800080FF:'99th Percentile In ->' RRDtool Command lengths = 1760 characters. RRDtool Says: SVG/XML Output OK

@DFlexy
Copy link
Author

DFlexy commented Nov 20, 2023

Simple graph here OK

image

Debug here
RRDtool Command: /usr/bin/rrdtool graph - \ --imgformat=SVG \ --start='-86400' \ --end='-300' \ --pango-markup \ --title='10.10.10.10 / ae4.0 / 10000 / OTHER - 10G' \ --vertical-label='bits por segundo' \ --slope-mode \ --base=1000 \ --height=150 \ --width=700 \ --alt-autoscale \ COMMENT:"From 19-11-2023 08\:44\:44 To 20-11-2023 08\:39\:44\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:9: \ --font AXIS:8: \ --font LEGEND:9: \ --font UNIT:8: \ --font WATERMARK:8: \ --slope-mode \ --watermark 'Por ' \ DEF:a='/usr/share/cacti/rra/10_10_10_10_traffic_in_1355.rrd':'traffic_in':MAX \ DEF:b='/usr/share/cacti/rra/10_10_10_10_traffic_in_1355.rrd':'traffic_in':AVERAGE \ DEF:c='/usr/share/cacti/rra/10_10_10_10_traffic_in_1355.rrd':'traffic_out':MAX \ DEF:d='/usr/share/cacti/rra/10_10_10_10_traffic_in_1355.rrd':'traffic_out':AVERAGE \ CDEF:cdefa='a,8,*' \ CDEF:cdefb='b,8,*' \ CDEF:cdeff='c,8,*' \ CDEF:cdefg='d,8,*' \ LINE1:cdefa#306EFFFF: \ AREA:cdefb#306EFF7F:'Inbound ' \ GPRINT:cdefb:LAST:'Current\:%8.2lf %s' \ GPRINT:cdefb:AVERAGE:'Average\:%8.2lf %s' \ GPRINT:cdefb:MAX:'Maximum\:%8.2lf %s\n' \ LINE1:cdeff#E8A317FF: \ AREA:cdefg#E8A3177F:'Outbound' \ GPRINT:cdefg:LAST:'Current\:%8.2lf %s' \ GPRINT:cdefg:AVERAGE:'Average\:%8.2lf %s' \ GPRINT:cdefg:MAX:'Maximum\:%8.2lf %s\n' \ COMMENT:' \n' \ HRULE:269789501.16#000000FF:'95th Percentile In ->' \ COMMENT:'(269.79 mbit)' \ HRULE:463411527.58#800080FF:'99th Percentile In ->' \ COMMENT:'(463.41 mbit)\n' \ HRULE:269789501.16#E41B17FF:'95th Percentile Out ->' \ COMMENT:'(48.44 mbit)' \ HRULE:53565025.77#C04000FF:'99th Percentile Out ->' \ COMMENT:'(53.57 mbit)\n' RRDtool Command lengths = 1793 characters. RRDtool Says: SVG/XML Output OK

@TheWitness
Copy link
Member

So, are you saying it's working on some aggregates and not others?

@DFlexy
Copy link
Author

DFlexy commented Nov 20, 2023

So, are you saying it's working on some aggregates and not others?

not only in simple graphs, aggregates do not work

@TheWitness
Copy link
Member

Now I'm confused. Do you have any aggregates that after you resave either the aggregate or aggregate template that are working? Also, what happens when you create a new aggregate graph?

@DFlexy
Copy link
Author

DFlexy commented Nov 20, 2023

Now I'm confused. Do you have any aggregates that after you resave either the aggregate or aggregate template that are working? Also, what happens when you create a new aggregate graph?

I have an aggregation template that uses the same template as normal graphs, but normal graphs work and aggregates do not use the same template

@DFlexy
Copy link
Author

DFlexy commented Nov 20, 2023

Template agreggate after change bugged

image

template normal graph ok
image

@DFlexy
Copy link
Author

DFlexy commented Nov 20, 2023

To create the aggregate I use the same graph template which is

image

@DFlexy
Copy link
Author

DFlexy commented Nov 20, 2023

ROLLBACK api_aggregate.php and see agregate template for info

image

@TheWitness
Copy link
Member

Yea, that modified aggregate was a yikes moment. I'll dig in later today.

@DFlexy
Copy link
Author

DFlexy commented Nov 20, 2023

Yea, that modified aggregate was a yikes moment. I'll dig in later today.

I am very grateful for the help, this has been bothering me a lot because I need the percentiles of the aggregates.
Thank you for the support

@TheWitness
Copy link
Member

Can you please screen capture your Aggregate Template. I need the "Aggregate Template Settings" section. Thanks. I'm still finding the Aggregates a little buggy, though I was not able to reproduce your issue.

@DFlexy
Copy link
Author

DFlexy commented Nov 20, 2023

Can you please screen capture your Aggregate Template. I need the "Aggregate Template Settings" section. Thanks. I'm still finding the Aggregates a little buggy, though I was not able to reproduce your issue.

Here

image

@DFlexy
Copy link
Author

DFlexy commented Nov 20, 2023

Here Graph simple too if need
image

@TheWitness
Copy link
Member

Okay, tested on my side. I have a few updates to commit yet.

image

@DFlexy
Copy link
Author

DFlexy commented Nov 20, 2023

Okay, tested on my side. I have a few updates to commit yet.

image

You can place the IN and OUT separately in the aggregates like in the simple graphs because adding the in and out is wrong

TheWitness added a commit that referenced this issue Nov 20, 2023
@TheWitness
Copy link
Member

Well, that's a very interesting development.

@TheWitness
Copy link
Member

Is it possible to send the dump?

@DFlexy
Copy link
Author

DFlexy commented Nov 22, 2023

Is it possible to send the dump?

I tried to remove the database dump but I can't remove the confidential information. Do I need a specific table?

@TheWitness
Copy link
Member

One thing you can do is edit the sql file and then search for confidential information. If you edit in VIM, you can replace as follows:

vim mydump.sql
# Assume you are searching to replace "ABC" with something else
:%s/ABC/randomsomething/g
# That above command replaces everything in the file that matches "ABC" with the string "randomsomething"

Just keep doing that until all the 'confidential' stuff is gone.

@TheWitness
Copy link
Member

Another approach is just use sed

sed -i 's/ABC/somethingrandom/g' mydump.sql

@TheWitness
Copy link
Member

Things confidential can be considered: ip addresses, snmp communities, site names, hostnames, and even interface names. I only have interest in the situation. I don't care about the rest.

@TheWitness
Copy link
Member

The other route is this. When you view an aggregate graph, you find in the address bar and id like in the case below, it's 1032. That is the local graph id of the Aggregate graph. So, when the graphs are broken, run this SQL command below:

select task_item_id, value, text_format from graph_templates_item where local_graph_id=1032;

Then, fix them, and run the command again as above. Send the output from each to the ticket.

@TheWitness
Copy link
Member

Here is my example:

MariaDB [cacti]> select task_item_id, value, text_format from graph_templates_item where local_graph_id=1032;                                        +--------------+--------------------------------------+----------------------------------------------------+
| task_item_id | value                                | text_format                                        |
+--------------+--------------------------------------+----------------------------------------------------+
|         2268 |                                      |                                                    |
|         2270 |                                      |                                                    |
|         2264 |                                      |                                                    |
|         2272 |                                      |                                                    |
|         2274 |                                      |                                                    |
|         2276 |                                      |                                                    |
|         2278 |                                      |                                                    |
|         2266 |                                      |                                                    |
|         2280 |                                      |                                                    |
|         2282 |                                      |                                                    |
|         2269 |                                      |                                                    |
|         2271 |                                      |                                                    |
|         2265 |                                      |                                                    |
|         2273 |                                      |                                                    |
|         2275 |                                      |                                                    |
|         2277 |                                      |                                                    |
|         2279 |                                      |                                                    |
|         2267 |                                      |                                                    |
|         2281 |                                      |                                                    |
|         2283 |                                      |                                                    |
|          123 |                                      | Total Inbound                                      |
|          123 |                                      | Current:                                           |
|          123 |                                      | Average:                                           |
|          123 |                                      | Maximum:                                           |
|          124 |                                      | Total Outbound                                     |
|          124 |                                      | Current:                                           |
|          124 |                                      | Average:                                           |
|          124 |                                      | Maximum:                                           |
|            0 |                                      |                                                    |
|          123 | |95:bits:0:aggregate_current_peak:2| | 95th Percentile                                    |
|          123 |                                      | (|95:bits:6:aggregate_current_peak:2| mbit in+out) |
|          123 | |98:bits:0:aggregate_current_peak:2| | 98th Percentile                                    |
|          123 |                                      | (|98:bits:6:aggregate_current_peak:2| mbit in+out) |
+--------------+--------------------------------------+----------------------------------------------------+
33 rows in set (0.001 sec)

@DFlexy
Copy link
Author

DFlexy commented Nov 22, 2023

This is the result of the aggregated graph of 75 interfaces that does not cause problems and always works

MariaDB [cactidb]> select task_item_id, value, text_format from graph_templates_item where local_graph_id=1477;
+--------------+---------------------------------+----------------------------------------+
| task_item_id | value                           | text_format                            |
+--------------+---------------------------------+----------------------------------------+
|          130 |                                 |                                        |
|          131 |                                 |                                        |
|          132 |                                 |                                        |
|          133 |                                 |                                        |
|          134 |                                 |                                        |
|          135 |                                 |                                        |
|          182 |                                 |                                        |
|          183 |                                 |                                        |
|          212 |                                 |                                        |
|          213 |                                 |                                        |
|          214 |                                 |                                        |
|          215 |                                 |                                        |
|          216 |                                 |                                        |
|          217 |                                 |                                        |
|          228 |                                 |                                        |
|          229 |                                 |                                        |
|          230 |                                 |                                        |
|          231 |                                 |                                        |
|          232 |                                 |                                        |
|          233 |                                 |                                        |
|          306 |                                 |                                        |
|          307 |                                 |                                        |
|          312 |                                 |                                        |
|          313 |                                 |                                        |
|          322 |                                 |                                        |
|          323 |                                 |                                        |
|          324 |                                 |                                        |
|          325 |                                 |                                        |
|          326 |                                 |                                        |
|          327 |                                 |                                        |
|          328 |                                 |                                        |
|          329 |                                 |                                        |
|          330 |                                 |                                        |
|          331 |                                 |                                        |
|          332 |                                 |                                        |
|          333 |                                 |                                        |
|          382 |                                 |                                        |
|          383 |                                 |                                        |
|          384 |                                 |                                        |
|          385 |                                 |                                        |
|          386 |                                 |                                        |
|          387 |                                 |                                        |
|         2492 |                                 |                                        |
|         2493 |                                 |                                        |
|         2494 |                                 |                                        |
|         2495 |                                 |                                        |
|         2500 |                                 |                                        |
|         2501 |                                 |                                        |
|         2532 |                                 |                                        |
|         2533 |                                 |                                        |
|         2544 |                                 |                                        |
|         2545 |                                 |                                        |
|         2588 |                                 |                                        |
|         2589 |                                 |                                        |
|         2590 |                                 |                                        |
|         2591 |                                 |                                        |
|         2606 |                                 |                                        |
|         2607 |                                 |                                        |
|         2608 |                                 |                                        |
|         2609 |                                 |                                        |
|         2616 |                                 |                                        |
|         2617 |                                 |                                        |
|         2618 |                                 |                                        |
|         2619 |                                 |                                        |
|         2622 |                                 |                                        |
|         2623 |                                 |                                        |
|         2634 |                                 |                                        |
|         2635 |                                 |                                        |
|         2636 |                                 |                                        |
|         2637 |                                 |                                        |
|         2656 |                                 |                                        |
|         2657 |                                 |                                        |
|         2662 |                                 |                                        |
|         2663 |                                 |                                        |
|         2676 |                                 |                                        |
|         2677 |                                 |                                        |
|         2684 |                                 |                                        |
|         2685 |                                 |                                        |
|         2712 |                                 |                                        |
|         2713 |                                 |                                        |
|         2714 |                                 |                                        |
|         2715 |                                 |                                        |
|         2716 |                                 |                                        |
|         2717 |                                 |                                        |
|         2718 |                                 |                                        |
|         2719 |                                 |                                        |
|         2730 |                                 |                                        |
|         2731 |                                 |                                        |
|         2732 |                                 |                                        |
|         2733 |                                 |                                        |
|         2734 |                                 |                                        |
|         2735 |                                 |                                        |
|         2736 |                                 |                                        |
|         2737 |                                 |                                        |
|         2738 |                                 |                                        |
|         2739 |                                 |                                        |
|         2740 |                                 |                                        |
|         2741 |                                 |                                        |
|         2742 |                                 |                                        |
|         2743 |                                 |                                        |
|         2746 |                                 |                                        |
|         2747 |                                 |                                        |
|         2748 |                                 |                                        |
|         2749 |                                 |                                        |
|         2916 |                                 |                                        |
|         2917 |                                 |                                        |
|         2918 |                                 |                                        |
|         2919 |                                 |                                        |
|         2920 |                                 |                                        |
|         2921 |                                 |                                        |
|         2922 |                                 |                                        |
|         2923 |                                 |                                        |
|         2949 |                                 |                                        |
|         2950 |                                 |                                        |
|         2951 |                                 |                                        |
|         2952 |                                 |                                        |
|         2953 |                                 |                                        |
|         2954 |                                 |                                        |
|         2955 |                                 |                                        |
|         2956 |                                 |                                        |
|         2957 |                                 |                                        |
|         2958 |                                 |                                        |
|         3001 |                                 |                                        |
|         3002 |                                 |                                        |
|         3007 |                                 |                                        |
|         3008 |                                 |                                        |
|         3009 |                                 |                                        |
|         3010 |                                 |                                        |
|         3011 |                                 |                                        |
|         3012 |                                 |                                        |
|         3013 |                                 |                                        |
|         3014 |                                 |                                        |
|         3015 |                                 |                                        |
|         3016 |                                 |                                        |
|         3024 |                                 |                                        |
|         3025 |                                 |                                        |
|         3026 |                                 |                                        |
|         3027 |                                 |                                        |
|         3028 |                                 |                                        |
|         3029 |                                 |                                        |
|         3034 |                                 |                                        |
|         3035 |                                 |                                        |
|         3038 |                                 |                                        |
|         3039 |                                 |                                        |
|         3040 |                                 |                                        |
|         3041 |                                 |                                        |
|         3042 |                                 |                                        |
|         3043 |                                 |                                        |
|         3044 |                                 |                                        |
|         3045 |                                 |                                        |
|           66 |                                 | Total Inbound                          |
|           66 |                                 | Current:                               |
|           66 |                                 | Average:                               |
|           66 |                                 | Maximum:                               |
|           67 |                                 | Total Outbound                         |
|           67 |                                 | Current:                               |
|           67 |                                 | Average:                               |
|           67 |                                 | Maximum:                               |
|            0 |                                 |                                        |
|           66 | |95:bits:0:aggregate_current:2| | 95th Percentile In  ->                 |
|           66 |                                 | (|95:bits:6:aggregate_current:2| mbit) |
|           66 | |99:bits:0:aggregate_current:2| | 99th Percentile In  ->                 |
|           66 |                                 | (|99:bits:6:aggregate_current:2| mbit) |
|           66 | |95:bits:0:aggregate_current:2| | 95th Percentile Out ->                 |
|           67 |                                 | (|95:bits:6:aggregate_current:2| mbit) |
|           67 | |99:bits:0:aggregate_current:2| | 99th Percentile Out ->                 |
|           67 |                                 | (|99:bits:6:aggregate_current:2| mbit) |
+--------------+---------------------------------+----------------------------------------+
167 rows in set (0.00 sec)

@DFlexy
Copy link
Author

DFlexy commented Nov 22, 2023

This is the other one that I removed from the unit to work

MariaDB [cactidb]> select task_item_id, value, text_format from graph_templates_item where local_graph_id=1483;
+--------------+---------------------------------+----------------------------------------+
| task_item_id | value                           | text_format                            |
+--------------+---------------------------------+----------------------------------------+
|         3007 |                                 |                                        |
|         3008 |                                 |                                        |
|         3009 |                                 |                                        |
|         3010 |                                 |                                        |
|         3011 |                                 |                                        |
|         3012 |                                 |                                        |
|         3013 |                                 |                                        |
|         3014 |                                 |                                        |
|         3015 |                                 |                                        |
|         3016 |                                 |                                        |
|           66 |                                 |                                        |
|           66 |                                 | Current:                               |
|           66 |                                 | Average:                               |
|           66 |                                 | Maximum:                               |
|           67 |                                 |                                        |
|           67 |                                 | Current:                               |
|           67 |                                 | Average:                               |
|           67 |                                 | Maximum:                               |
|            0 |                                 |                                        |
|           66 | |95:bits:0:aggregate_current:2| | 95th Percentile In  ->                 |
|           66 |                                 | (|95:bits:6:aggregate_current:2| mbit) |
|           66 | |99:bits:0:aggregate_current:2| | 99th Percentile In  ->                 |
|           66 |                                 | (|99:bits:6:aggregate_current:2| mbit) |
|           66 | |95:bits:0:aggregate_current:2| | 95th Percentile Out ->                 |
|           67 |                                 | (|95:bits:6:aggregate_current:2| mbit) |
|           67 | |99:bits:0:aggregate_current:2| | 99th Percentile Out ->                 |
|           67 |                                 | (|99:bits:6:aggregate_current:2| mbit) |
+--------------+---------------------------------+----------------------------------------+
27 rows in set (0.00 sec)

@DFlexy
Copy link
Author

DFlexy commented Nov 22, 2023

This is from a new chart that is still working without updating the template

MariaDB [cactidb]> select task_item_id, value, text_format from graph_templates_item where local_graph_id=1484;
+--------------+---------------------------------+----------------------------------------+
| task_item_id | value                           | text_format                            |
+--------------+---------------------------------+----------------------------------------+
|         2959 |                                 |                                        |
|         2960 |                                 |                                        |
|         2967 |                                 |                                        |
|         2968 |                                 |                                        |
|         2963 |                                 |                                        |
|         2964 |                                 |                                        |
|         2969 |                                 |                                        |
|         2970 |                                 |                                        |
|         3007 |                                 |                                        |
|         3008 |                                 |                                        |
|           66 |                                 |                                        |
|           66 |                                 | Current:                               |
|           66 |                                 | Average:                               |
|           66 |                                 | Maximum:                               |
|           67 |                                 |                                        |
|           67 |                                 | Current:                               |
|           67 |                                 | Average:                               |
|           67 |                                 | Maximum:                               |
|            0 |                                 |                                        |
|           66 | |95:bits:0:aggregate_current:2| | 95th Percentile In  ->                 |
|           66 |                                 | (|95:bits:6:aggregate_current:2| mbit) |
|           66 | |99:bits:0:aggregate_current:2| | 99th Percentile In  ->                 |
|           66 |                                 | (|99:bits:6:aggregate_current:2| mbit) |
|           66 | |95:bits:0:aggregate_current:2| | 95th Percentile Out ->                 |
|           67 |                                 | (|95:bits:6:aggregate_current:2| mbit) |
|           67 | |99:bits:0:aggregate_current:2| | 99th Percentile Out ->                 |
|           67 |                                 | (|99:bits:6:aggregate_current:2| mbit) |
+--------------+-------------

@TheWitness
Copy link
Member

Thanks for that. There is an error in your template. Look at the screen shot below. 66 is in, 67 is out.

image

@TheWitness
Copy link
Member

It's your Graph Template.

@DFlexy
Copy link
Author

DFlexy commented Nov 22, 2023

can help check here ?

image

@TheWitness
Copy link
Member

You must first:

  1. Edit the original Graph Template and fix the entry
  2. Then go to the Aggregate Template and resave it.

Still waiting on the dump.

@DFlexy
Copy link
Author

DFlexy commented Nov 23, 2023

Good morning.
I checked all chart template settings
I removed the aggregate template again and created it again.

Here is what I identified.
I created 3 new aggregates.

1 with 4 interfaces
It works but after saving the aggregate template it stops working

1 with 10 interfaces
It works but after saving the aggregate template it stops working

1 with 20 interfaces
Works smoothly even after saving the aggregated template

@DFlexy
Copy link
Author

DFlexy commented Nov 23, 2023

AWAYS WORK
| 66 | | |
| 66 | | Current: |
| 66 | | Average: |
| 66 | | Maximum: |
| 67 | | |
| 67 | | Current: |
| 67 | | Average: |
| 67 | | Maximum: |
| 0 | | |
| 66 | |95:bits:0:aggregate_current:2| | 95th Percentile In -> |
| 66 | | (|95:bits:6:aggregate_current:2| mbit) |
| 66 | |99:bits:0:aggregate_current:2| | 99th Percentile In -> |
| 66 | | (|99:bits:6:aggregate_current:2| mbit) |
| 67 | |95:bits:0:aggregate_current:2| | 95th Percentile Out -> |
| 67 | | (|95:bits:6:aggregate_current:2| mbit) |
| 67 | |99:bits:0:aggregate_current:2| | 99th Percentile Out -> |
| 67 | | (|99:bits:6:aggregate_current:2| mbit) |
+--------------+---------------------------------+----------------------------------------+

DONT WORK
+--------------+-------+-------------+
| task_item_id | value | text_format |
+--------------+-------+-------------+
| 2408 | | |
| 2409 | | |
| 2576 | | |
| 2577 | | |
| 2959 | | |
| 2960 | | |
| 2969 | | |
| 2970 | | |
| 66 | | |
| 66 | | Current: |
| 66 | | Average: |
| 66 | | Maximum: |
| 67 | | |
| 67 | | Current: |
| 67 | | Average: |
| 67 | | Maximum: |
+--------------+-------+-------------+

DONT WORK
+--------------+-------+-------------+
| task_item_id | value | text_format |
+--------------+-------+-------------+
| 2975 | | |
| 2976 | | |
| 2977 | | |
| 2978 | | |
| 2979 | | |
| 2980 | | |
| 2981 | | |
| 2982 | | |
| 2987 | | |
| 2988 | | |
| 2989 | | |
| 2990 | | |
| 2991 | | |
| 2992 | | |
| 2993 | | |
| 2994 | | |
| 2995 | | |
| 2996 | | |
| 3036 | | |
| 3037 | | |
| 66 | | |
| 66 | | Current: |
| 66 | | Average: |
| 66 | | Maximum: |
| 67 | | |
| 67 | | Current: |
| 67 | | Average: |
| 67 | | Maximum: |
+--------------+-------+-------------+

@DFlexy
Copy link
Author

DFlexy commented Nov 23, 2023

I believe it has something to do with the number of interfaces

@DFlexy
Copy link
Author

DFlexy commented Nov 23, 2023

image

@DFlexy
Copy link
Author

DFlexy commented Nov 23, 2023

New test with 30 interfaces also stopped working, only the one with 20 interfaces that works anyway

@TheWitness
Copy link
Member

The only way I'll be able to go further on this is to have a db dump.

@TheWitness
Copy link
Member

Ope! I just reproduced it in my local environment!

@TheWitness
Copy link
Member

Okay, it's fixed now. Just re-save the Template once updated. Thanks for your patience.

@TheWitness
Copy link
Member

I've logged this enhancement as well.

#5595

@DFlexy
Copy link
Author

DFlexy commented Nov 23, 2023

Woohoo Thank you very much for your patience and I really appreciate your effort.
Working perfectly.
I played the file and the graphics worked without problems.
Thank you and that I have everything good

image

@github-actions github-actions bot locked and limited conversation to collaborators Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants