metadata.yaml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # yamllint disable rule:line-length
  2. ---
  3. - id: 'notify-pagerduty'
  4. meta:
  5. name: 'PagerDuty'
  6. link: 'https://www.pagerduty.com/'
  7. categories:
  8. - notify.agent
  9. icon_filename: 'pagerduty.png'
  10. keywords:
  11. - PagerDuty
  12. overview:
  13. notification_description: |
  14. PagerDuty is an enterprise incident resolution service that integrates with ITOps and DevOps monitoring stacks to improve operational reliability and agility. From enriching and aggregating events to correlating them into incidents, PagerDuty streamlines the incident management process by reducing alert noise and resolution times.
  15. You can send notifications to PagerDuty using Netdata's Agent alert notification feature, which supports dozens of endpoints, user roles, and more.
  16. notification_limitations: ''
  17. setup:
  18. prerequisites:
  19. list:
  20. - title: ''
  21. description: |
  22. - An installation of the [PagerDuty](https://www.pagerduty.com/docs/guides/agent-install-guide/) agent on the node running the Netdata Agent
  23. - A PagerDuty Generic API service using either the `Events API v2` or `Events API v1`
  24. - [Add a new service](https://support.pagerduty.com/docs/services-and-integrations#section-configuring-services-and-integrations) to PagerDuty. Click Use our API directly and select either `Events API v2` or `Events API v1`. Once you finish creating the service, click on the Integrations tab to find your Integration Key.
  25. - Access to the terminal where Netdata Agent is running
  26. configuration:
  27. file:
  28. name: 'health_alarm_notify.conf'
  29. options:
  30. description: 'The following options can be defined for this notification'
  31. folding:
  32. title: 'Config Options'
  33. enabled: true
  34. list:
  35. - name: 'SEND_PD'
  36. default_value: 'YES'
  37. description: "Set `SEND_PD` to YES"
  38. required: true
  39. - name: 'DEFAULT_RECIPIENT_PD'
  40. default_value: ''
  41. description: "Set `DEFAULT_RECIPIENT_PD` to the PagerDuty service key you want the alert notifications to be sent to. You can define multiple service keys like this: `pd_service_key_1` `pd_service_key_2`."
  42. required: true
  43. detailed_description: |
  44. All roles will default to this variable if left unconfigured.
  45. The `DEFAULT_RECIPIENT_PD` can be edited in the following entries at the bottom of the same file:
  46. ```conf
  47. role_recipients_pd[sysadmin]="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxa"
  48. role_recipients_pd[domainadmin]="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb"
  49. role_recipients_pd[dba]="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxc"
  50. role_recipients_pd[webmaster]="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd"
  51. role_recipients_pd[proxyadmin]="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxe"
  52. role_recipients_pd[sitemgr]="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf"
  53. ```
  54. examples:
  55. folding:
  56. enabled: true
  57. title: ''
  58. list:
  59. - name: 'Basic Configuration'
  60. folding:
  61. enabled: false
  62. description: ''
  63. config: |
  64. #------------------------------------------------------------------------------
  65. # pagerduty.com notification options
  66. SEND_PD="YES"
  67. DEFAULT_RECIPIENT_PD="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  68. USE_PD_VERSION="2"
  69. troubleshooting:
  70. problems:
  71. list: []