Hi,
yesterday I updated my servers including Netdata (all of them are based on Ubuntu).
Like I do (almost) every month.
This morning I noticed that I get alerts about these events:
web_log_1m_successful
web_log_1m_redirects
This is not special because I run mostly WordPress websites on these server and redirects are very normal.
After installing Netdata I choose for these events “silent” over “webmaster” because I can ignore these alerts.
After the recent update, it looks like all my custom settings are overwritten (file health.d/web_log.conf).
Does this happen by accident in the latest update or is it just “normal”?
Hi @finalwebsites !
How did you update Netdata? Was it through the package manager?
How did you change the configuration for web_log.conf
? Is it in your /etc/ directory ?
Thanks!
Yes, via the package manager (apt-get upgrade)
I edit this file
nano /usr/lib/netdata/conf.d/health.d/web_log.conf
In your alert emails you suggest to do it differently:
sudo /etc/netdata/edit-config health.d/web_log.conf
I guess that is the problem?
Hi!
Yes, that’s the problem. /usr/lib/netdata/conf.d/health.d/
files will get overwritten every time there is an update. To make sure your edits stay between updates you need to use the edit-config
command which will place the files in /etc
directory.
Thanks!
1 Like
Thank you, that makes sense. Looks like I was just lucky during the last X updates