pingdom - Pause/unpause Pingdom alerts
Synopsis
- This module will let you pause/unpause Pingdom alerts
Requirements (on host that executes module)
- This pingdom python library: https://github.com/mbabineau/pingdom-python
Options
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| checkid | yes | Pingdom ID of the check. | ||
| key | yes | Pingdom API key. | ||
| passwd | yes | Pingdom user password. | ||
| state | yes |
| Define whether or not the check should be running or paused. | |
| uid | yes | Pingdom user ID. |
Examples
# Pause the check with the ID of 12345.
- pingdom:
uid: [email protected]
passwd: password123
key: apipassword123
checkid: 12345
state: paused
# Unpause the check with the ID of 12345.
- pingdom:
uid: [email protected]
passwd: password123
key: apipassword123
checkid: 12345
state: running
Notes
Note
- This module does not yet have support to add/remove checks.
Status
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.4/pingdom_module.html