monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use curl to check if service is down?


From: Anthony Ettinger
Subject: How to use curl to check if service is down?
Date: Sat, 25 Jun 2022 01:40:01 -0700

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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]