Hello Alan,
as long as you start/stop your process via monit you can use the following.

check process blob matching “blob-process”
 start program "your command"
 stop program "your command"
 if memory usage > 8 MB then alert
 mode passive    (you can remove the line)

> Ideally, my problem would be solved if I could disable the "process is not 
> running” alert.

And the monitrc should use

onreboot laststate    (or nostart)

All the time you use "monit stop blob" the monitor will disable the
process monitoring for "blob". And you get no "process ist not running"
alerts.

With regards,
Lutz

p.s.
See
https://mmonit.com/monit/documentation/monit.html#SYSTEM-REBOOT-AND-SERVICE-STARTUP


-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to