From 3338985aab3af2793a2b81473ee98d292a1ed806 Mon Sep 17 00:00:00 2001 From: Florian Jacob Date: Sat, 14 Oct 2017 00:28:39 +0200 Subject: [PATCH] nixos/munin: Create MUNIN_PLUGSTATE dir to fix munin_stats plugin --- nixos/modules/services/monitoring/munin.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/services/monitoring/munin.nix b/nixos/modules/services/monitoring/munin.nix index 723b04dc0fe..0ec201a0eb1 100644 --- a/nixos/modules/services/monitoring/munin.nix +++ b/nixos/modules/services/monitoring/munin.nix @@ -193,6 +193,9 @@ in }; }; + # munin_stats plugin breaks as of 2.0.33 when this doesn't exist + systemd.tmpfiles.rules = [ "d /var/run/munin 0755 munin munin -" ]; + }) (mkIf cronCfg.enable { systemd.timers.munin-cron = {