added webui

This commit is contained in:
2021-01-08 14:45:26 +01:00
parent 02ba334032
commit cedf566f74
6 changed files with 22 additions and 13 deletions

View File

@@ -9,10 +9,5 @@ set eventqueue
basedir /var/lib/monit/events # set the base directory where events will be stored
slots 100 # optionally limit the queue size
#WEBUIset httpd port 2812 and
#WEBUIallow admin:monit # require user 'admin' with password 'monit'
#WEBUI#use address localhost # only accept connection from localhost (drop if you use M/Monit)
#WEBUI#allow localhost # allow localhost to connect to the server and
include /etc/monit/conf.d/*
include /etc/monit/conf.d/*
include /etc/monit/websocket #enables/disables monit-websocket