Compare commits
No commits in common. "78d2499b466ab90594fe3ddc8832a54127437957" and "edebd1588f45f62ea6b0e73f55176b90a39e9237" have entirely different histories.
78d2499b46
...
edebd1588f
2 changed files with 1 additions and 2 deletions
|
@ -71,7 +71,6 @@ def nginx(metadata):
|
||||||
'context': {
|
'context': {
|
||||||
'target': 'http://127.0.0.1:4000',
|
'target': 'http://127.0.0.1:4000',
|
||||||
},
|
},
|
||||||
'check_path': '/status',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -123,7 +123,7 @@ def monitoring(metadata):
|
||||||
'monitoring': {
|
'monitoring': {
|
||||||
'services': {
|
'services': {
|
||||||
f'HTTP {hostname}': {
|
f'HTTP {hostname}': {
|
||||||
'vars.command': f"""/usr/bin/curl -X GET {quote(hostname + vhost.get('check_path', ''))} -IL --fail"""
|
'vars.command': f"""/usr/bin/curl {quote(hostname + vhost.get('check_path', ''))} -IL --fail"""
|
||||||
}
|
}
|
||||||
for hostname, vhost in metadata.get('nginx/vhosts').items()
|
for hostname, vhost in metadata.get('nginx/vhosts').items()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue