nixos/munin: add disabledPlugins option

This is just a set of globs to remove from the active plugins directory
after autoconfiguration is complete.

I also removed the hard-coded disabling of "diskstats", since it seems
to work just fine now.
This commit is contained in:
Ben Kelly
2019-02-04 20:17:26 -05:00
committed by Ben Kelly
parent c74abf763a
commit 0c3208a8e4
2 changed files with 20 additions and 5 deletions
+1 -3
View File
@@ -15,9 +15,7 @@ import ./make-test.nix ({ pkgs, ...} : {
munin-node = {
enable = true;
# disable a failing plugin to prevent irrelevant error message, see #23049
extraConfig = ''
ignore_file ^apc_nis$
'';
disabledPlugins = [ "apc_nis" ];
};
munin-cron = {
enable = true;