From 78d2499b466ab90594fe3ddc8832a54127437957 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Mon, 5 Sep 2022 15:02:07 +0200 Subject: [PATCH] nginx http check uses GET --- bundles/nginx/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/nginx/metadata.py b/bundles/nginx/metadata.py index b1f0009..82c0f47 100644 --- a/bundles/nginx/metadata.py +++ b/bundles/nginx/metadata.py @@ -123,7 +123,7 @@ def monitoring(metadata): 'monitoring': { 'services': { f'HTTP {hostname}': { - 'vars.command': f"""/usr/bin/curl {quote(hostname + vhost.get('check_path', ''))} -IL --fail""" + 'vars.command': f"""/usr/bin/curl -X GET {quote(hostname + vhost.get('check_path', ''))} -IL --fail""" } for hostname, vhost in metadata.get('nginx/vhosts').items() },