From 172a57c0cf42dce034a7e77c71fda24643509d40 Mon Sep 17 00:00:00 2001 From: Leo Puvilland Date: Tue, 23 Jan 2024 18:52:36 -0800 Subject: [PATCH] nagios: remove serviceackauthor from host notifications Signed-off-by: Leo Puvilland --- roles/nagios_server/files/nagios/commands/notify.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nagios_server/files/nagios/commands/notify.cfg b/roles/nagios_server/files/nagios/commands/notify.cfg index 01965dd227..f39e11a87a 100644 --- a/roles/nagios_server/files/nagios/commands/notify.cfg +++ b/roles/nagios_server/files/nagios/commands/notify.cfg @@ -37,7 +37,7 @@ define command{ # 'host-notify-by-matrixbot' command definition define command{ command_name host-notify-by-matrixbot - command_line /usr/bin/echo '{"notificationtype": "$NOTIFICATIONTYPE$", "hostname": "$HOSTNAME$", "servicestate": "$HOSTSTATE$", "serviceoutput": "$HOSTOUTPUT$", "hostackauthor": "$HOSTACKAUTHOR$", "serviceackauthor": "$SERVICEACKAUTHOR$"}' | /usr/local/bin/matrix-notify.sh false + command_line /usr/bin/echo '{"notificationtype": "$NOTIFICATIONTYPE$", "hostname": "$HOSTNAME$", "servicestate": "$HOSTSTATE$", "serviceoutput": "$HOSTOUTPUT$", "hostackauthor": "$HOSTACKAUTHOR$"}' | /usr/local/bin/matrix-notify.sh false } # 'notify-by-email' command definition