le monitoring est regroupé dans un fichier

extraction-donnees-privees
Jean-Pierre PRUNARET 9 years ago
parent 8ebfe6c9a6
commit 3de2cceef4

@ -1,11 +1,14 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
## Munin server -- generate /var/www/munin # Monitoring
# Noeud de supervision munin = pas de stockage des données locales
services.munin-node = {
enable = true;
};
# Munin server -- generate /var/www/munin
services.munin-cron = { services.munin-cron = {
enable = true; enable = true;
hosts = '' hosts = ''
@ -13,7 +16,7 @@
address localhost address localhost
''; '';
extraGlobalConfig = '' extraGlobalConfig = ''
contact.email.command mail -s "Munin notification for ''${var:host}" hostmaster@prunetwork.fr contact.email.command mail -s "Munin notification for ''${var:host}" root@${config.networking.hostName}
''; '';
}; };

@ -27,12 +27,4 @@
UsePrivilegeSeparation sandbox UsePrivilegeSeparation sandbox
''; '';
}; };
# Monitoring
## Noeud de supervision munin = pas de stockage des données locales
services.munin-node = {
enable = true;
};
} }

Loading…
Cancel
Save