-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
Various fixes to contrib/unbound_munin_ file #440
Conversation
"unbound-control stats" lists only query types that has been seen after unbound restart. Munin requires list of all types ever seen, or the generated graphs are mostly empty after restart. Fix this by adding a state file with list of seen query types etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time for this!
I have some questions inline before accepting this.
Not a munin user but I am worried if this change catches other users by surprise or if it is not relevant to other users.
Do you see value in having an environment variable to toggle this new behavior? Then based on the environment variable update_seentags() could just write the state content (filtered) to the seentags file and the old behavior is also kept by default.
Old behavior has two fatal errors:
New behavior might include some tags that stays zero forever, but that should not matter. So no, I don't see any point including config option for switching between old/new. I'll reply inline for others. |
LGTM now, thanks for explaining the reason behind the changes. |
The most important fix is "fix statistics after unbound restart / server reboot". Other changes are mostly cosmetic.