From 4f854bca8b79a9227408a964c28ef4b97e4bf1dc Mon Sep 17 00:00:00 2001 From: Julien Riou Date: Mon, 9 May 2022 09:57:37 +0200 Subject: [PATCH] fix: Remove $SERVICEDESC$ from host notification Signed-off-by: Julien Riou --- notify-by-telegram.py | 1 - 1 file changed, 1 deletion(-) diff --git a/notify-by-telegram.py b/notify-by-telegram.py index 9d11874..9333308 100755 --- a/notify-by-telegram.py +++ b/notify-by-telegram.py @@ -30,7 +30,6 @@ def parse_arguments(): # host notifications host_parser = subparsers.add_parser('host') host_parser.add_argument('--notification-type', help='nagios $NOTIFICATIONTYPE$', required=True) - host_parser.add_argument('--service-desc', help='nagios $SERVICEDESC$', required=True) host_parser.add_argument('--host-name', help='nagios $HOSTNAME$', required=True) host_parser.add_argument('--host-state', help='nagios $HOSTSTATE$', required=True) host_parser.add_argument('--host-address', help='nagios $HOSTADDRESS$', required=True)