Munin : notification when everything is ok
Solution 1:
The df
plugin in Debian also checks the dynamically mounted filesystems under /run/user/<uid>
which appear when a user logs in and which disappear when the user logs out. Even though all levels are OK, this appearance and disappearance is considered a change which triggers an email.
You should be able to avoid this by creating a file called /etc/munin/plugin-conf.d/df
with the following content:
[df*]
env.exclude_re /run/user/
To check if your settings work and to list which paths the df
plugin considers, use the following command:
munin-run -d df
If you are happy with the outcome, restart the munin-node service (service munin-node restart
).
Solution 2:
Recent Munin in Debian and derived distributions should handle this according to Debian bug #788736.
Some logic around tmpfs type mounts (which /run/user/* is) has been fixed in the Munin upstream project. As far as I can see, they are however not excluded pr. default (probably the Debian specific configuration that does this).