nginx check less noise

This commit is contained in:
cronekorkn 2022-09-13 00:42:57 +02:00
parent 1797c784af
commit 440f270b25
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -109,7 +109,7 @@ def monitoring(metadata):
'monitoring': { 'monitoring': {
'services': { 'services': {
hostname: { hostname: {
'vars.command': f"/usr/bin/curl -X GET -IL --fail {quote(hostname + vhost.get('check_path', ''))}", 'vars.command': f"/usr/bin/curl -X GET -L --fail --no-progress-meter -o /dev/null {quote(hostname + vhost.get('check_path', ''))}",
} }
for hostname, vhost in metadata.get('nginx/vhosts').items() for hostname, vhost in metadata.get('nginx/vhosts').items()
}, },