From 5449fd1437461af353b5d9c35c8816fe16eb15ec Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sat, 8 Jul 2023 03:06:35 +0200 Subject: [PATCH] update: use new report location --- icinga-gateway-command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icinga-gateway-command.py b/icinga-gateway-command.py index 85e81ed..731f9ee 100755 --- a/icinga-gateway-command.py +++ b/icinga-gateway-command.py @@ -21,9 +21,9 @@ if __name__ == "__main__": args = parser.parse_args() - urlBase = "{proto}://{host}:{port}/?service={service}" + urlBase = "{proto}://{host}:{port}/report?service={service}" if not args.port: - urlBase = "{proto}://{host}/?service={service}" + urlBase = "{proto}://{host}/report?service={service}" url = urlBase.format(proto=args.protocol, host=args.host, port=args.port, service=args.service)