add monit config

This commit is contained in:
2021-12-05 20:00:11 +00:00
commit a65c9f88f1
5 changed files with 75 additions and 0 deletions

26
etc-monit/monitrc Executable file
View File

@ -0,0 +1,26 @@
set daemon 300
set pidfile /var/run/monit.pid
set idfile /var/.monit.id
set statefile /var/.monit.state
set limits {
programOutput: 512 B,
sendExpectBuffer: 256 B,
fileContentBuffer: 512 B,
httpContentBuffer: 1 MB,
networkTimeout: 5 seconds
programTimeout: 300 seconds
stopTimeout: 30 seconds
startTimeout: 30 seconds
restartTimeout: 30 seconds
}
set ssl {
verify : enable,
selfsigned : allow
}
set eventqueue
basedir /var/monit
slots 100
include /etc/monit/monit.d/*.cfg