Manage monit states
注解
Use of these states require that the monit
execution module is available.
salt.states.monit.
monitor
(name)¶Get the summary from module monit and try to see if service is being monitored. If not then monitor the service.
salt.states.monit.
unmonitor
(name)¶Get the summary from module monit and try to see if service is being monitored. If it is then stop monitoring the service.