Manage monit states
monit_enable_service_monitoring:
monit.monitor:
- name: service
monit_disable_service_monitoring:
monit.unmonitor:
- name: service
Note
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.
Generated on April 02, 2023 at 04:11:22 UTC.
You are viewing docs for the latest stable release, 3005.1. Switch to docs for the previous stable release, 3004.2, or to a recent doc build from the master branch.
© 2023 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy