monit-general
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
use curl to check if api is down or up
From
:
Anthony Ettinger
Subject
:
use curl to check if api is down or up
Date
:
Sat, 25 Jun 2022 01:38:50 -0700
I want to use monit and curl so that curl would hit and api and check if its up, if it gets a 502 or similar error then restart the systemd service.
How would I do this?
--
Anthony
408-656-2473
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
use curl to check if api is down or up
,
Anthony Ettinger
<=
Re: use curl to check if api is down or up
,
Mike D
,
2022/06/25
Re: use curl to check if api is down or up
,
Mike D
,
2022/06/26
Re: use curl to check if api is down or up
,
Anthony Ettinger
,
2022/06/26
Re: use curl to check if api is down or up
,
Mike Dunaway
,
2022/06/26
Prev by Date:
Re: Action if checksum did not change
Next by Date:
How to use curl to check if service is down?
Previous by thread:
Action if checksum did not change
Next by thread:
Re: use curl to check if api is down or up
Index(es):
Date
Thread