-
-
Notifications
You must be signed in to change notification settings - Fork 412
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
When using consolidation functions, retrieving the first step can cause errors #2925
Comments
Can you copy/paste the text version of your outputs? They will be useful during diagnosis. |
I can confirm this. Have to review the code to see what happened. |
Okay, I recall this now. It was done due to an RRDtool quirk around the first RRA around the fact that the max and average would both be the same. Boy wish I had kept better notes on this. It did not show up sooner due to the coding error that was resolved recently that allowed it to go unchecked. Let me see if I can do better math. Maybe I'll just revert the change. More to follow. |
The source commit was here. cd14f26#diff-e93c440af885a2ac30d2e08c774a3934 It had to do with Aggregate. I have to re-review the reason for the change. |
Problem with consolidation function after upgade to 1.2.6
I'm going to close this now. Let me know if you are satisfied with the fix. |
I just test this fix on my two cacti servers. And both of them work perfectly. Thank you. |
Just some variable changes and an audit of the code just to ensure everything is correct.
Describe the bug
Cacti only output the MAX value on all graphs.
For example, the default "Interface Traffic" graph template will show the "MAX" value by "Line",
and show "AVERAGE" value by "Area". But My Cacti will draw them with same value.
To Reproduce
Steps to reproduce the behavior:
Here is the graph template content:

It's RRD command output:

Expected behavior

(From another Cacti server)
Desktop (please complete the following information):
Additional context
I have another Cacti 1.2.6 server, and it works well.
The text was updated successfully, but these errors were encountered: