Monit service module. This module will create a monit type service watcher.
salt.modules.monit.
configtest
()New in version 2016.3.0.
Test monit configuration syntax
CLI Example:
salt '*' monit.configtest
salt.modules.monit.
id_
(reset=False)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]
salt.modules.monit.
monitor
(name)monitor service via monit
CLI Example:
salt '*' monit.monitor <service name>
salt.modules.monit.
reload_
()New in version 2016.3.0.
Reload monit configuration
CLI Example:
salt '*' monit.reload
salt.modules.monit.
restart
(name)Restart service via monit
CLI Example:
salt '*' monit.restart <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>
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy