In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
Moderators: Developers, Moderators
-
- Posts: 22
- Joined: Sat Jul 01, 2023 1:52 am
In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction, and there are no statistics calculated for the inbound direction.
There is no such issue in version 1.2.24.
I haven't made any special settings in either version, and they are basically in their default state. Furthermore, I have compared the parameters with version 1.2.24 and found no differences.
The Cacti system is a completely new installation.
Centos 7.9
PHP 7.4
mysql 5.7
RRdtool 1.48
NET-SNMP version: 5.7.2
Thanks in advance for your reply.
In Cacti 1.2.24, it functions normally; even if there is no outbound traffic, it can still calculate the 95th percentile value for inbound traffic.
There is no such issue in version 1.2.24.
I haven't made any special settings in either version, and they are basically in their default state. Furthermore, I have compared the parameters with version 1.2.24 and found no differences.
The Cacti system is a completely new installation.
Centos 7.9
PHP 7.4
mysql 5.7
RRdtool 1.48
NET-SNMP version: 5.7.2
Thanks in advance for your reply.
In Cacti 1.2.24, it functions normally; even if there is no outbound traffic, it can still calculate the 95th percentile value for inbound traffic.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
Show the Aggregate Template 'Edit' screen.
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?
-
- Posts: 22
- Joined: Sat Jul 01, 2023 1:52 am
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
I used the Interface - Traffic (bits/sec, 95th) graph template from within the system to create the Aggregate 95 template. Do you think that's what is needed?
- Attachments
-
- Screenshot_20240316_210147_com.android.chrome.jpg (575.14 KiB) Viewed 559 times
-
- Screenshot_20240316_210200_com.android.chrome.jpg (510.8 KiB) Viewed 559 times
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
Could you please redo this in English?
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?
-
- Posts: 22
- Joined: Sat Jul 01, 2023 1:52 am
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
Would you like me to translate the content on the graph into English and then provide you with a screenshot, or should I switch the interface language to English on my platform and recreate the aggregate template?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
No, just change your language in the interface to English and then re-upload the images.
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?
-
- Posts: 22
- Joined: Sat Jul 01, 2023 1:52 am
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
TheWitness wrote: ↑Sat Mar 16, 2024 9:54 am No, just change your language in the interface to English and then re-upload the images.
- Attachments
-
- Screenshot_20240316_231123_com.android.chrome.jpg (551.63 KiB) Viewed 532 times
-
- Screenshot_20240316_231114_com.android.chrome.jpg (620.41 KiB) Viewed 532 times
-
- Posts: 22
- Joined: Sat Jul 01, 2023 1:52 am
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
The graphics you sent, are they what you wanted? I am ready to cooperate and assist you at any time! Thank you.TheWitness wrote: ↑Sat Mar 16, 2024 9:54 am No, just change your language in the interface to English and then re-upload the images.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
I'm just about to update lib/api_aggregate.php. You need to:
1) Update that.
2) Re-save the aggregate template.
3) View the Graph
1) Update that.
2) Re-save the aggregate template.
3) View the Graph
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?
-
- Posts: 22
- Joined: Sat Jul 01, 2023 1:52 am
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
Do you want me to update now? In versions prior to Cacti 1.2.26, the calculation for the 95th percentile is based on the higher of the two directions, rather than summing the inbound and outbound data.TheWitness wrote: ↑Sat Mar 16, 2024 12:47 pm I'm just about to update lib/api_aggregate.php. You need to:
1) Update that.
2) Re-save the aggregate template.
3) View the Graph
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
yup
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?
-
- Posts: 22
- Joined: Sat Jul 01, 2023 1:52 am
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
I have a bad feeling. Maybe we both made a mistake. The 95th counting method in 1.2.26 is correct. The default configuration should not count the 95th in the incoming direction. I found that the 95th method in the version before 1.2.6 may be Incorrect?
I looked at the previous 1.2.24 graphic template. The configuration is the same as 1.2.26, but the value of 95 will automatically select the direction with greater traffic for statistics and display (although this is a good thing). After 1.2.26, there is no direction. Maybe the 95th is right? I think the default configuration of 1.2.24 should not display the incoming direction 95th.
The images show the default settings of Cacti 1.2.24.
- Attachments
-
- Screenshot_20240317_030330.jpg (157.55 KiB) Viewed 493 times
-
- Screenshot_20240317_030256.jpg (381.79 KiB) Viewed 493 times
-
- Screenshot_20240317_030204.jpg (248.7 KiB) Viewed 493 times
-
- Posts: 22
- Joined: Sat Jul 01, 2023 1:52 am
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
What I meant is that in many previous versions, the 95th percentile calculation was not selected for the inbound direction of the source interface. Only the outbound direction had this option. However, both graph templates and aggregation templates would automatically choose the direction with higher traffic to calculate the 95th percentile, which should be considered an error. This error was fixed in version 1.2.26, which is why there is now a discrepancy where aggregation templates only calculate the 95th percentile in the outbound direction and not in the inbound direction. Are you saying that today we have inadvertently reverted back to this erroneous state?
My thoughts may not be correct.
My thoughts may not be correct.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
Yes and no. The wording says In+Out, but it is not in-fact that. This feature needs to be re-done based upon all my discoveries.
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?
-
- Posts: 22
- Joined: Sat Jul 01, 2023 1:52 am
Re: In Cacti 1.2.26, after aggregation, only the 95th percentile values are calculated for the outbound direction
After I updated your code, the 95th percentile in the aggregation template now displays the sum of inbound and outbound traffic, which is different from previous versions where it would calculate based on the direction with higher traffic.TheWitness wrote: ↑Sat Mar 16, 2024 2:48 pm Yes and no. The wording says In+Out, but it is not in-fact that. This feature needs to be re-done based upon all my discoveries.
I discovered this when I noticed that some of my graphs only had inbound traffic without any outbound traffic. The 95th percentile in these graphs was the same as in version 1.2.24. However, in other graphs where both inbound and outbound traffic were present, the 95th percentile results were higher.
Who is online
Users browsing this forum: No registered users and 2 guests