Runner Module for Firing Events via PagerDuty
New in version 2014.1.0.
configuration: |
This module can be used by specifying the name of a configuration profile in the master config. For example: my-pagerduty-account:
pagerduty.api_key: F3Rbyjbve43rfFWf2214
pagerduty.subdomain: mysubdomain
|
---|
Create an event in PagerDuty. Designed for use in states.
CLI Example:
salt-run pagerduty.create_event <service_key> <description> <details> profile=my-pagerduty-account
The following parameters are required:
This function is an alias of list_policies
.
List escalation policies belonging to this account
CLI Example:
salt-run pagerduty.list_policies my-pagerduty-account salt-run pagerduty.list_escalation_policies my-pagerduty-account
List incidents belonging to this account
CLI Example:
salt-run pagerduty.list_incidents my-pagerduty-account
This function is an alias of list_windows
.
List maintenance windows belonging to this account
CLI Example:
salt-run pagerduty.list_windows my-pagerduty-account salt-run pagerduty.list_maintenance_windows my-pagerduty-account
List escalation policies belonging to this account
CLI Example:
salt-run pagerduty.list_policies my-pagerduty-account salt-run pagerduty.list_escalation_policies my-pagerduty-account
List schedules belonging to this account
CLI Example:
salt-run pagerduty.list_schedules my-pagerduty-account
List services belonging to this account
CLI Example:
salt-run pagerduty.list_services my-pagerduty-account
List users belonging to this account
CLI Example:
salt-run pagerduty.list_users my-pagerduty-account
List maintenance windows belonging to this account
CLI Example:
salt-run pagerduty.list_windows my-pagerduty-account salt-run pagerduty.list_maintenance_windows my-pagerduty-account
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/runners/all/salt.runners.pagerduty.html