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]