diff options
author | lassulus <lass@lassul.us> | 2017-02-21 14:31:15 +0100 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-02-21 14:31:15 +0100 |
commit | af93c8cba606813007bab84e8d1d8d822764333a (patch) | |
tree | f1003808ff7ea85d370397aad47d5c19d35ec4b9 /lass/2configs | |
parent | 5829d6726070b037d5698faedb77fa79b311c9f2 (diff) |
l 2 monitoring monit: use hostname in irc alarm
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/monitoring/monit-alarms.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |