mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add monit check for osteoview-demo
This commit is contained in:
parent
61f12a0209
commit
d56652156b
1 changed files with 10 additions and 0 deletions
|
|
@ -72,6 +72,16 @@
|
|||
with timeout 5 seconds
|
||||
content = '[{"]Healthy["]:[{}}]'
|
||||
then alert
|
||||
|
||||
check host osteoview-demo with address demo.osteoview.app
|
||||
if failed
|
||||
port 443
|
||||
protocol https
|
||||
status = 200
|
||||
request "/api/_health"
|
||||
with timeout 5 seconds
|
||||
content = '[{"]Healthy["]:[{}}]'
|
||||
then alert
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue