diff --git a/nixos/modules/services/monitoring/munin.nix b/nixos/modules/services/monitoring/munin.nix
index 21840bc67e8..aab1c4b75ef 100644
--- a/nixos/modules/services/monitoring/munin.nix
+++ b/nixos/modules/services/monitoring/munin.nix
@@ -37,7 +37,7 @@ let
--set PATH "/run/current-system/sw/bin:/run/current-system/sw/sbin" \
--set MUNIN_LIBDIR "${pkgs.munin}/lib" \
--set MUNIN_PLUGSTATE "/var/run/munin"
-
+
# munin uses markers to tell munin-node-configure what a plugin can do
echo "#%# family=$family" >> $file
echo "#%# capabilities=$cap" >> $file
@@ -57,7 +57,7 @@ let
rundir /var/run/munin
${cronCfg.extraGlobalConfig}
-
+
${cronCfg.hosts}
'';
@@ -72,10 +72,10 @@ let
group root
host_name ${config.networking.hostName}
setsid 0
-
+
# wrapped plugins by makeWrapper being with dots
ignore_file ^\.
-
+
allow ^127\.0\.0\.1$
${nodeCfg.extraConfig}
@@ -97,7 +97,7 @@ in
See .
'';
};
-
+
extraConfig = mkOption {
default = "";
description = ''
@@ -118,7 +118,7 @@ in
Enable munin-cron. Takes care of all heavy lifting to collect data from
nodes and draws graphs to html. Runs munin-update, munin-limits,
munin-graphs and munin-html in that order.
-
+
HTML output is in /var/www/munin/, configure your
favourite webserver to serve static files.
'';
@@ -138,7 +138,7 @@ in
};
'';
};
-
+
extraGlobalConfig = mkOption {
default = "";
description = ''
@@ -160,7 +160,7 @@ in
'';
};
-
+
};
};
diff --git a/nixos/tests/jenkins.nix b/nixos/tests/jenkins.nix
index 28027c294bc..f0d3139d902 100644
--- a/nixos/tests/jenkins.nix
+++ b/nixos/tests/jenkins.nix
@@ -16,6 +16,8 @@ import ./make-test.nix {
services.jenkinsSlave.enable = true;
users.extraUsers.jenkins.extraGroups = [ "users" ];
+
+ systemd.services.jenkins.unitConfig.TimeoutSec = 240;
};
slave =
diff --git a/nixos/tests/munin.nix b/nixos/tests/munin.nix
index 31676c10df1..ddbac590143 100644
--- a/nixos/tests/munin.nix
+++ b/nixos/tests/munin.nix
@@ -19,6 +19,7 @@ import ./make-test.nix {
};
};
};
+ systemd.services.munin-node.unitConfig.TimeoutSec = 240;
};
testScript = ''