monitower

nimble and trivial monitoring suite
Log | Files | Refs

commit c3a7ae9a60d15154a99a6b70ff05d11893bfe6bb
parent 00d39edec26c1cacd8b003687c77ec47e39b67f5
Author: Josuah Demangeon <me@josuah.net>
Date:   Thu, 24 Sep 2020 08:26:10 +0200

add msgid

Diffstat:
Mbin/monitower-event | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/monitower-event b/bin/monitower-event @@ -1,3 +1,5 @@ #!/bin/sh -eu -exec logger -nc -d "$*" -t monitower -p alert +msgid=$(dd if=/dev/urandom bs=1 count=8 | od -An -tx | tr -cd 0-9a-fA-F) + +exec logger -nc -d "$*" -t monitower -p alert -m "$msgid"