Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ram limit and diskusage limit raised #250

Merged
merged 1 commit into from
Sep 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions addon_files/redmatic/etc/monit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CHECK PROCESS redmatic-nodered MATCHING '^node-red\s*$|red\.js'
restart = "/etc/config/rc.d/redmatic restart"
stop = "/etc/config/rc.d/redmatic stop"

if memory usage > 224 MB then alert
if memory usage > 280 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
Expand All @@ -17,7 +17,7 @@ CHECK PROCESS redmatic-nodered MATCHING '^node-red\s*$|red\.js'
request "/addons/red/"
then alert

CHECK PROGRAM redmatic-diskusage with path "/usr/local/addons/redmatic/bin/monit-du.sh 512"
CHECK PROGRAM redmatic-diskusage with path "/usr/local/addons/redmatic/bin/monit-du.sh 710"
GROUP redmatic
MODE PASSIVE
ONREBOOT NOSTART
Expand Down