diff --git a/addon_files/redmatic/etc/monit.cfg b/addon_files/redmatic/etc/monit.cfg index 05f31606..782fcdea 100644 --- a/addon_files/redmatic/etc/monit.cfg +++ b/addon_files/redmatic/etc/monit.cfg @@ -1,9 +1,9 @@ -CHECK PROCESS redmatic-nodered MATCHING '^node-red\s*$' +CHECK PROCESS redmatic-nodered MATCHING '^node-red\s*$|red\.js' GROUP redmatic MODE PASSIVE ONREBOOT NOSTART - if memory usage > 200 MB then alert + if memory usage > 224 MB then alert if cpu > 90% for 2 cycles then alert if disk write rate > 1 MB/s for 2 cycles then alert if failed