summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-02-21 14:31:15 +0100
committerlassulus <lass@lassul.us>2017-02-21 14:31:15 +0100
commitaf93c8cba606813007bab84e8d1d8d822764333a (patch)
treef1003808ff7ea85d370397aad47d5c19d35ec4b9
parent5829d6726070b037d5698faedb77fa79b311c9f2 (diff)
l 2 monitoring monit: use hostname in irc alarm
-rw-r--r--lass/2configs/monitoring/monit-alarms.nix2
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 {