Commit b3a59f58 authored by Adam Wujek's avatar Adam Wujek 💬

rootfs/monit: enable CLI for monit

By opening an unix socket. This allows to monitor/unmonitor/check status/
print summary of processes from the CLI.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent e3db72e9
......@@ -66,3 +66,7 @@ set statefile /tmp/monit.state
#
include /etc/monit.d/*.conf
#
# enable Monit CLI to start and stop services, disable or enable service
# monitoring as well as view the status of each service.
# use socket instead of TCP to prevent access from outside switch
set httpd unixsocket /var/run/monit.sock allow root:root
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment