Re: How to use curl to check if service is down?

Lutz Mader <[email protected]> Wed, 29 Jun 2022 20:44:19 +0200
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hello Anthony,
monit does not know the process, you are using check host.

> One thing I'm not sure about is how monit knows which systemd service to
> restart. I haven't specified it anywhere.

But systemctl should know the right proces/application.

With regards,
Lutz

p.s.
Only check process collect process information about a
process/application. All other check statements do not know anything
about the processes.