We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Only occurs if you are using a non-typical RRA profil. In my case only archive LAST will be created and used within the graph template.
Graph debug returns more than 20 times "Undefined offset: 1 ...." .
Simple to fix as the issue occurs in /lib/functions.php -- function generate_graph_best_cf:
Due to the reason that $avail_cf_functions hasn't been touched before line 2707
$best_cf = current($avail_cf_functions);
would be appropriate to return the first element.
The text was updated successfully, but these errors were encountered:
Can you commit this?
Sorry, something went wrong.
fix best CF selection
15adc29
#4557 - use reset to return the first element.
No branches or pull requests
Describe the bug
Only occurs if you are using a non-typical RRA profil. In my case only archive LAST will be created and used within the graph template.
Graph debug returns more than 20 times "Undefined offset: 1 ...." .
Solution
Simple to fix as the issue occurs in /lib/functions.php -- function generate_graph_best_cf:
Due to the reason that $avail_cf_functions hasn't been touched before line 2707
$best_cf = current($avail_cf_functions);
would be appropriate to return the first element.
Screenshots
Cacti 1.2.19 and above
The text was updated successfully, but these errors were encountered: