Skip to content

Report when RRA's heartbeat is below the data source profile's interval #2871

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

Closed
netniV opened this issue Aug 2, 2019 · 5 comments
Closed
Labels
enhancement General tag for an enhancement resolved A fixed issue troubleshooting Feature that aids in troubleshooting
Milestone

Comments

@netniV
Copy link
Member

netniV commented Aug 2, 2019

Is your feature request related to a problem? Please describe.
When an RRA is created, the heartbeat is normally defined as twice that of the data source profile (from what I've seen). However, if you switch profiles and miss recreating or migrating any of the RRA's, this can lead to gaps in the graph:

Turns out it was the minimal_heartbeat setting in the rrd that was the problem.

I've been dealing with odd issues here and there since upgrading from 0.8.8 to 1.2.2. One of them seems to be that my 5 minute polling data profile has a heartbeat setting of 2 minutes (120 seconds) after the upgrade.

Describe the solution you'd like
There should be a check and warning when the heartbeat is below the minimum cycle of a profile.

Additional context
I'm not sure whether this already appears on the Troubleshooting -> Data Sources section.

@cigamit cigamit added the enhancement General tag for an enhancement label Aug 11, 2019
@TheWitness TheWitness added the troubleshooting Feature that aids in troubleshooting label Mar 17, 2020
@TheWitness
Copy link
Member

@xmacan does your RRDfile check check for this?

@TheWitness TheWitness added this to the v1.2.23 milestone Oct 17, 2022
@xmacan
Copy link
Member

xmacan commented Oct 17, 2022

no, but I will add it.

@xmacan
Copy link
Member

xmacan commented Oct 29, 2022

@netniV I have a question: Is it enough to test that hearthbeat is equal or greater than data source profile or heartbeat is equal to 2x data source? I don't know rrd that much. What is correct? Thank you

@TheWitness
Copy link
Member

It's usually 2x. I like to make it higher as my spine segfaults from time to time and I have not had a chance to figure it out.

@TheWitness
Copy link
Member

This is resolved now in @xmacan RRDcheck and in the Data Source Debug.

@TheWitness TheWitness added the resolved A fixed issue label Nov 17, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Feb 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement General tag for an enhancement resolved A fixed issue troubleshooting Feature that aids in troubleshooting
Projects
None yet
Development

No branches or pull requests

4 participants