community.general.pingdom (8.5.0) — module

Pause/unpause Pingdom alerts

Authors: Dylan Silva (@thaumos), Justin Johns (!UNKNOWN)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

This module will let you pause/unpause Pingdom alerts


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Pause the check with the ID of 12345
  community.general.pingdom:
    uid: example@example.com
    passwd: password123
    key: apipassword123
    checkid: 12345
    state: paused
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Unpause the check with the ID of 12345
  community.general.pingdom:
    uid: example@example.com
    passwd: password123
    key: apipassword123
    checkid: 12345
    state: running

Inputs

    
key:
    description:
    - Pingdom API key.
    required: true
    type: str

uid:
    description:
    - Pingdom user ID.
    required: true
    type: str

state:
    choices:
    - running
    - paused
    - started
    - stopped
    description:
    - Define whether or not the check should be running or paused.
    required: true
    type: str

passwd:
    description:
    - Pingdom user password.
    required: true
    type: str

checkid:
    description:
    - Pingdom ID of the check.
    required: true
    type: str