salt.states.pagerduty
Create an Event in PagerDuty
New in version 2014.1.0.
This state is useful for creating events on the PagerDuty service during state runs.
server-warning-message: pagerduty.create_event: - name: 'This is a server warning message' - details: 'This is a much more detailed message' - service_key: 9abcd123456789efabcde362783cdbaf - profile: my-pagerduty-account
-
Create an event on the PagerDuty service
server-warning-message: pagerduty.create_event: - name: 'This is a server warning message' - details: 'This is a much more detailed message' - service_key: 9abcd123456789efabcde362783cdbaf - profile: my-pagerduty-account
The following parameters are required:
- name
-
This is a short description of the event.
- details
-
This can be a more detailed description of the event.
- service_key
-
This key can be found by using pagerduty.list_services.
- profile
-
This refers to the configuration profile to use to connect to the PagerDuty service.
salt.states.pagerduty.create_event(name, details, service_key, profile)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/states/all/salt.states.pagerduty.html