Monit service module. This module will create a monit type service watcher.
New in version 2016.3.0.
Test monit configuration syntax
CLI Example:
salt '*' monit.configtest
New in version 2016.3.0.
Return monit unique id.
Reset current id and generate a new id when it's True.
CLI Example:
salt '*' monit.id [reset=True]
monitor service via monit
CLI Example:
salt '*' monit.monitor <service name>
New in version 2016.3.0.
Reload monit configuration
CLI Example:
salt '*' monit.reload
Restart service via monit
CLI Example:
salt '*' monit.restart <service name>
CLI Example:
salt '*' monit.start <service name>
Display a process status from monit
CLI Example:
salt '*' monit.status
salt '*' monit.status <service name>
Stops service via monit
CLI Example:
salt '*' monit.stop <service name>
Display a summary from monit
CLI Example:
salt '*' monit.summary
salt '*' monit.summary <service name>
Unmonitor service via monit
CLI Example:
salt '*' monit.unmonitor <service name>
New in version 2016.3.0.
Check all services
CLI Example:
salt '*' monit.validate
New in version 2016.3.0.
Return version from monit -V
CLI Example:
salt '*' monit.version