Advertisement
Guest User

Untitled

a guest
Jul 24th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. /etc/salt/minion.d/pagerduty.conf & /etc/salt/master.d/pagerduty.conf:
  2.  
  3. pagerduty:
  4. pagerduty.api_key: REDACTED
  5. pagerduty.subdomain: FAKENAME
  6. pagerduty.service_key: REDACTED
  7. #required value due to the way pagerduty.py is written in 2015.2
  8. pagerduty.service: REDACTED # (same as service_key - pagerduty module work without it on 2015.5.2)
  9.  
  10. /srv/reactor/pagerduty.sls:
  11.  
  12. pagerduty-test-alert:
  13. local.pagerduty.create_event:
  14. - tgt: 'saltmaster'
  15. - kwarg:
  16. - name: 'salt-pagerduty'
  17. - details: "{{ data['id'] }} is borken"
  18. - service_key: redacted
  19. - profile: pagerduty-test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement