Navigation Menu

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

Data Source Info suggests commands RRDTool can't honor #2491

Closed
netniV opened this issue Mar 7, 2019 · 1 comment
Closed

Data Source Info suggests commands RRDTool can't honor #2491

netniV opened this issue Mar 7, 2019 · 1 comment
Assignees
Labels
bug Undesired behaviour
Milestone

Comments

@netniV
Copy link
Member

netniV commented Mar 7, 2019

Describe the bug
There was a datasource with a number of issues most of which the tune sorted out. But it also showed, and still does, the following:

Required RRD step size is '60'
RRD maximum for Data Source 'traffic_in' should be 'NaN'
RRD maximum for Data Source 'traffic_out' should be 'NaN'
File RRA '0' has same CF/steps (AVERAGE, 1) as '1'
File RRA '1' has same CF/steps (AVERAGE, 1) as '0'
File RRA '9' has same CF/steps (MAX, 1) as '10'
File RRA '10' has same CF/steps (MAX, 1) as '9'
/usr/bin/rrdtool tune /usr/share/cacti/rra/501/10287.rrd --maximum traffic_in:NaN
/usr/bin/rrdtool tune /usr/share/cacti/rra/501/10287.rrd --maximum traffic_out:NaN

However, running the tune commands failed because RRDTool 1.6 does not support NaN as a valid value.

Expected behavior
The NaN should really be U

@cigamit
Copy link
Member

cigamit commented Mar 7, 2019

Additionally, the Max values are being incorrectly calculated in some cases. One user reported an ifHighSpeed of 2000, and Cacti was recommending a maximum values of 1000.

@netniV netniV self-assigned this Mar 7, 2019
@netniV netniV added the bug Undesired behaviour label Mar 7, 2019
netniV added a commit that referenced this issue Mar 7, 2019
issue#2491: Data Source Info suggests commands RRDTool can't honor
issue#2493: Data Source Info is not separated properly
netniV added a commit that referenced this issue Mar 7, 2019
issue#2491: Data Source Info suggests commands RRDTool can't honor
issue#2493: Data Source Info is not separated properly
@netniV netniV closed this as completed Mar 7, 2019
@netniV netniV added this to the v1.2.3 milestone Mar 7, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour
Projects
None yet
Development

No branches or pull requests

2 participants