[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Check a process (specifically its memory consumption) only if it exi
lutz . mader
RE: Check a process (specifically its memory consumption) only if it exists?
Thu, 08 Nov 2018 19:49:26 +0100
you can use something like this to enable memory monitoring only.
check process blob matching “blob-process”
start program "your command"
stop program "your command"
if memory usage > 8 MB then alert
Monit does not start the application, the mode is passive, but monitor the
But you should not stop the application via monit, because the service became
"Not monitored" and the memory check will disabled also.
A suggestion only,