From af93c8cba606813007bab84e8d1d8d822764333a Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 21 Feb 2017 14:31:15 +0100 Subject: l 2 monitoring monit: use hostname in irc alarm --- lass/2configs/monitoring/monit-alarms.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lass/2configs') diff --git a/lass/2configs/monitoring/monit-alarms.nix b/lass/2configs/monitoring/monit-alarms.nix index 05d64c049..9333ef9d2 100644 --- a/lass/2configs/monitoring/monit-alarms.nix +++ b/lass/2configs/monitoring/monit-alarms.nix @@ -6,7 +6,7 @@ let set -euf export LOGNAME=prism-alarm ${pkgs.irc-announce}/bin/irc-announce \ - ni.r 6667 prism-alarm \#noise "${msg}" >/dev/null + ni.r 6667 ${config.networking.hostName}-alarm \#noise "${msg}" >/dev/null ''; in { -- cgit v1.2.3