mirror of
https://github.com/FAUSheppy/icinga-webhook-gateway
synced 2025-12-06 07:21:38 +01:00
update: use new report location
This commit is contained in:
@@ -21,9 +21,9 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
urlBase = "{proto}://{host}:{port}/?service={service}"
|
urlBase = "{proto}://{host}:{port}/report?service={service}"
|
||||||
if not args.port:
|
if not args.port:
|
||||||
urlBase = "{proto}://{host}/?service={service}"
|
urlBase = "{proto}://{host}/report?service={service}"
|
||||||
|
|
||||||
url = urlBase.format(proto=args.protocol, host=args.host,
|
url = urlBase.format(proto=args.protocol, host=args.host,
|
||||||
port=args.port, service=args.service)
|
port=args.port, service=args.service)
|
||||||
|
|||||||
Reference in New Issue
Block a user