munin: configuration de l'envois de mail

pull/7/head
Jean-Pierre PRUNARET 8 years ago
parent ba09f97684
commit e77df9816d

@ -0,0 +1,3 @@
set copy=no
set realname = "Munin daemon"

@ -34,7 +34,7 @@ mkIf true {
address 127.0.0.1 address 127.0.0.1
''; '';
extraGlobalConfig = '' extraGlobalConfig = ''
contact.email.command mail -s "Munin notification for ''${var:host}" root@${config.networking.hostName} contact.email.command ${pkgs.mutt}/bin/mutt -F /etc/nixos/base/public/munin-muttrc -s "Munin notification for ''${var:host}" jean-pierre@ocean.prunetwork.fr
''; '';
}; };

Loading…
Cancel
Save