cacti icon indicating copy to clipboard operation
cacti copied to clipboard

When using the aggregate_max function to perform 95th percentile aggregation on two eth-trunk ports, the graph does not display converted values.

Open maojianyou opened this issue 1 year ago • 8 comments

1、basic environment:

Dependency Cacti 1.2.27
Operating System CentOS7.9 kernel 3.10.0-1160.71.1.el7.x86_64
MySQL 8.0.38
PHP 7.3.33
RRDtool 1.8.0
Net-SNMP 5.7.3

maojianyou avatar Aug 19 '24 03:08 maojianyou

I've been waiting on a proposed pull request from multiple users. But, so far, no takers.

TheWitness avatar Aug 21 '24 12:08 TheWitness

This bug is duplicate. It must be too early in the morning as I can not find the duplicate bug.

TheWitness avatar Aug 21 '24 12:08 TheWitness

There is a lot going on here. It seems that Aggregate May need a few enhancements around 95th percentile. Something like these aggregators maybe:

  • total_in - Total the inbound interfaces
  • total_out - Total the outbound interfaces

To achieve this goal. It seems to be we need something like a drop-down to determine how to interpret the nth percentile data then replace the values in from the Graph with the interpreted data.

I suspect that if you only included inbound or just outbound, the

The aggregate_sum aggregator would work perfectly. Problem it has to work with normal graphs too, which is why I'm leaning towards a drop-down.

That kind of makes this an enhancement. Maybe I'll put this into the 1.3 release.

TheWitness avatar Aug 25 '24 01:08 TheWitness

There is a lot going on here. It seems that Aggregate May need a few enhancements around 95th percentile. Something like these aggregators maybe:

  • total_in - Total the inbound interfaces
  • total_out - Total the outbound interfaces

To achieve this goal. It seems to be we need something like a drop-down to determine how to interpret the nth percentile data then replace the values in from the Graph with the interpreted data.

I suspect that if you only included inbound or just outbound, the

The aggregate_sum aggregator would work perfectly. Problem it has to work with normal graphs too, which is why I'm leaning towards a drop-down.

That kind of makes this an enhancement. Maybe I'll put this into the 1.3 release.

Since older versions like Cacti 0.8.7 supported this function, it feels like a bug in the newer version 1.2.27 for not being compatible with previous versions.

image [对象 # 1] eth-trunk21 in [对象 # 2] eth-trunk21 out
[对象 # 3] eth-trunk44 in
[对象 # 4] eth-trunk44 out

maojianyou avatar Aug 25 '24 13:08 maojianyou

There is a lot going on here. It seems that Aggregate May need a few enhancements around 95th percentile. Something like these aggregators maybe:

* `total_in` - Total the inbound interfaces

* `total_out` - Total the outbound interfaces

To achieve this goal. It seems to be we need something like a drop-down to determine how to interpret the nth percentile data then replace the values in from the Graph with the interpreted data.

I suspect that if you only included inbound or just outbound, the

The aggregate_sum aggregator would work perfectly. Problem it has to work with normal graphs too, which is why I'm leaning towards a drop-down.

That kind of makes this an enhancement. Maybe I'll put this into the 1.3 release.

Plan is show 'total_in' and 'total_out' 95th separately in an aggregated graph ? If that makes things more simply why not. The user can manually pick out the aggregated 95th which is the largest value of the two.

iskandarbasman avatar Aug 30 '24 01:08 iskandarbasman

There is a lot going on here. It seems that Aggregate May need a few enhancements around 95th percentile. Something like these aggregators maybe:

* `total_in` - Total the inbound interfaces

* `total_out` - Total the outbound interfaces

To achieve this goal. It seems to be we need something like a drop-down to determine how to interpret the nth percentile data then replace the values in from the Graph with the interpreted data. I suspect that if you only included inbound or just outbound, the The aggregate_sum aggregator would work perfectly. Problem it has to work with normal graphs too, which is why I'm leaning towards a drop-down. That kind of makes this an enhancement. Maybe I'll put this into the 1.3 release.

Plan is show 'total_in' and 'total_out' 95th separately in an aggregated graph ? If that makes things more simply why not. The user can manually pick out the aggregated 95th which is the largest value of the two.

Version 0.8.7 of Cacti already supports the aggregate_sum function, and it allows categorizing inbound and outbound traffic to select the maximum value separately.

maojianyou avatar Sep 06 '24 23:09 maojianyou

Same problem, specifically need the 95th of the larger value, is there any way to solve this problem first? Thank you very much.

akqzx avatar Oct 08 '24 14:10 akqzx

Same problem, specifically need the 95th of the larger value, is there any way to solve this problem first? Thank you very much.

Currently, I am experiencing this problem, but the new version hasn't solved it. I am using the new version only for experimental testing, and it hasn't been deployed in production due to too many bugs. I'm still using the old 0.8.7 version.

maojianyou avatar Oct 21 '24 01:10 maojianyou

I have given up on showing the exact 95th value on the graph. I am using python3 to get the csv data and do some calculations to get the exact 95th.

akqzx avatar Nov 11 '24 08:11 akqzx

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Feb 13 '25 00:02 github-actions[bot]