Monit service module. This module will create a monit type service watcher.
salt.modules.monit.
monitor
(name)¶monitor service via monit
CLI Example:
salt '*' monit.monitor <service name>
salt.modules.monit.
restart
(name)¶Restart service via monit
CLI Example:
salt '*' monit.restart <service name>
salt.modules.monit.
start
(name)¶CLI Example:
salt '*' monit.start <service name>
salt.modules.monit.
status
(svc_name='')¶Display a process status from monit
CLI Example:
salt '*' monit.status
salt '*' monit.status <service name>
salt.modules.monit.
stop
(name)¶Stops service via monit
CLI Example:
salt '*' monit.stop <service name>
salt.modules.monit.
summary
(svc_name='')¶Display a summary from monit
CLI Example:
salt '*' monit.summary
salt '*' monit.summary <service name>
salt.modules.monit.
unmonitor
(name)¶Unmonitor service via monit
CLI Example:
salt '*' monit.unmonitor <service name>
netapi
modules