diff --git a/monit.conf b/monit.conf index b956685..e28a78f 100644 --- a/monit.conf +++ b/monit.conf @@ -1,4 +1,4 @@ -check process postfix with pidfile /var/spool/postfix/pid/master.pid +check process prometheus with pidfile /tmp/prometheus.pid start program = "/usr/local/bin/prometheusd start" stop program = "/usr/local/bin/prometheusd stop" if 5 restarts within 8 cycles then alert