-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
health_alarm_notify Being Overwritten #5669
Comments
I run netdata on two servers running Ubuntu Server 18.04 and one Raspberry Pi running raspbian 9.8. After not receiving one notification from any of these devices for over two weeks I ran the alarm-notify test script to see what was going on only to discover that notifications weren't getting out because the titular file got reverted to default, presumably due to an update. This is really annoying, how can I avoid having this happen? |
You should use We keep seeing these types of issues and I'm sure we can do better here. @ktsaou, @paulkatsoulakis and @Ferroin, how about making the stock config files read only? Since the installer, updater and uninstaller all run as root, we shouldn't have a problem replacing them anyway. |
Is there a way to only include a subset of the items in an e.g. create a file
or even
or
to disable the warning entirely? This way, if upstream changes the defaults, copying the file around and modifying it AGAIN isn't necessary, and all upstream defaults follow whatever happens upstream, and only the local customizations get applied. This problem has been solved in many other software packages; namely, they have defaults built in, and a place to put files that only override behavior/settings, without having to completely copy/paste the original settings. In a normal system daemon (e.g. not containerized), the configuration IS read only, both in I don't pretend to understand why |
You're right @nyetwurk and it is something that we'd like to change, but it won't be done with small patches. We have discussed the needs of proper, modern configuration management processes, so it's one of the big initiatives on our roadmap. We just haven't prioritized it yet, based on user feedback (our survey). |
Closing in favor of #6432 |
Bug report summary
OS / Environment
Ubuntu Server 18.04 / Raspbian 9.8
Netdata version (ouput of
netdata -V
)1.13.0-8-nightly
Component Name
Steps To Reproduce
Install Netdata, edit notification file and let is sit two weeks
Expected behavior
Not having the file revert to default settings.
The text was updated successfully, but these errors were encountered: