From 0cd101954cc6b39fd67226827e845715609d5636 Mon Sep 17 00:00:00 2001 From: Julien Riou Date: Thu, 26 Nov 2020 15:35:59 +0100 Subject: [PATCH] Remove --service-desc argument for hosts Signed-off-by: Julien Riou --- nagios.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nagios.cfg b/nagios.cfg index 2b0ee46..bdddcff 100644 --- a/nagios.cfg +++ b/nagios.cfg @@ -1,6 +1,6 @@ define command { command_name notify-host-by-telegram - command_line /opt/notify-by-telegram/notify-by-telegram.py -c /etc/nagios4/telegram.json --logfile /var/log/nagios4/telegram.log host --notification-type "$NOTIFICATIONTYPE$" --service-desc "$SERVICEDESC$" --host-name "$HOSTNAME$" --host-state "$HOSTSTATE$" --host-address "$HOSTADDRESS$" --host-output "$HOSTOUTPUT$" --long-date-time "$LONGDATETIME$" + command_line /opt/notify-by-telegram/notify-by-telegram.py -c /etc/nagios4/telegram.json --logfile /var/log/nagios4/telegram.log host --notification-type "$NOTIFICATIONTYPE$" --host-name "$HOSTNAME$" --host-state "$HOSTSTATE$" --host-address "$HOSTADDRESS$" --host-output "$HOSTOUTPUT$" --long-date-time "$LONGDATETIME$" } define command {