Skip to content

Pager Duty — Configurations for Plugin

PagerDuty plugin attributes for the external_configuration table.

3 min read Updated SS

Supported Configurations#

Add configurations to the Percona database (add the configurations in the external_configuration table).

Attribute Description
itsm.name Value of the attribute: PagerDuty (case sensitive).
itsm.server URL of the ticketing application.
itsm.requiredfields Mention the output of the below key: service/a1eventhandler/itsm_requiredfiel ds
itsm.poxyhost If you need to connect to any of the plugins via a proxy server, then provide the IP address, Port number, User name, and Password for the respective plugin.
itsm.poxyport
itsm.poxypusername
itsm.poxypassword
itsm.raisetickets Based on the value of this attribute, UTP decides whether to raise a ticket or send an event to the ITSM plugin. The default value for this attribute is true. If you set this to false, then UTP does not raise tickets on HEAL Signals; UTP sends all HEAL Signals as they are to the plugins. In case the value is true, UTP raises tickets in the ITSM plugin.
itsm.ignorerepeatsignal The default value for this attribute is true. If you set this to false, then UTP sends all HEAL Signals to the plugins without ignoring repeat Signals. In case the value is true, UTP ignores repeat Signals.
itsm.priority This is an integer UTP used for the ITSM plugins when configuring multiple plugins. This can have values ranging from 1 to 4.

Database Queries for Configuring a Plugin#

Execute the following queries to provide values for these attributes in the Percona database:

  1. Specify the name of the plugin.

    UPDATE `appsone`.`external_configurations` SET `value` =
    'PagerDuty', `source` = 'PagerDuty' WHERE (`id` = '1');
    
  2. Specify the Pager Duty server URL

    UPDATE `appsone`.`external_configurations` SET `value` = '<URL of
    Pager Duty>, `source` = 'PagerDuty' WHERE (`id` = '2');
    
  3. Specify the username of the Pager Duty

    UPDATE `appsone`.`external_configurations` SET `value` =
    '<useranme>', `source` = 'PagerDuty' WHERE (`id` = '3');
    
  4. Specify the password of the Pager Duty

    UPDATE `appsone`.`external_configurations` SET `value` =
    '<password>', `source` = 'PagerDuty' WHERE (`id` = '4');
    
  5. Specify the value and ID as below:

    UPDATE `appsone`.`external_configurations` SET `value` = '"Service
    Name,Request Name,Host address,KPI name', `source` = 'PagerDuty'
    WHERE (`id` = '9');
    
  6. Specify the proxy details if they are available; otherwise, leave the field blank.

    Specify the proxy host value of Pager Duty

    UPDATE `appsone`.`external_configurations` SET `value` = '<proxy
    host>', `source` = 'PagerDuty' WHERE (`id` = '10');
    

    Specify the proxy port value of the Pager Duty

    UPDATE `appsone`.`external_configurations` SET `value` = '<proxy
    port>', `source` = 'PagerDuty' WHERE (`id` = '11');
    
  7. Specify the proxy username value of Pager Duty

    UPDATE `appsone`.`external_configurations` SET `value` = '<proxy
    username>', `source` = 'PagerDuty' WHERE (`id` = '12');
    
  8. Specify the proxy password value of Pager Duty

    UPDATE `appsone`.`external_configurations` SET `value` = '<proxy
    password>', `source` = 'PagerDuty' WHERE (`id` = '13');
    
  9. Specify the source value of Pager Duty

    At id = 16 (UTP Notifications)

    UPDATE `appsone`.`external_configurations` SET `source` =
    'PagerDuty' WHERE (`id` = '16');
    

    At id = 17 (Latest_Events)

    UPDATE `appsone`.`external_configurations` SET `source` =
    'PagerDuty' WHERE (`id` = '17');
    

    At id = 18 (App_Names)

    UPDATE `appsone`.`external_configurations` SET `source` =
    'PagerDuty' WHERE (`id` = '18');
    

    At id = 19

    UPDATE `appsone`.`external_configurations` SET `source` =
    'PagerDuty' WHERE (`id` = '19');
    
  10. Specify Pager Duty integration key:

    UPDATE `appsone`.`external_configurations` SET `value` =
    '<integration key>' WHERE (`id` = '21');
    
  11. Specify the ‘trigger’ value of Pager Duty

    UPDATE `appsone`.`external_configurations` SET `value` = 'trigger'
    WHERE (`id` = '22');
    
  12. Specify the ‘ignore repeat signal’ value of Pager Duty

    UPDATE `appsone`.`external_configurations` SET `value` = 'info'
    WHERE (`id` = '23');
    
  13. Specify the ‘raise tickets’ value of Pager Duty

    UPDATE `appsone`.`external_configurations` SET `value` = '1',
    `source` = 'PagerDuty' WHERE (`id` = '27');
    
  14. Specify the ‘ignore repeat signal’ value of Pager Duty

    UPDATE `appsone`.`external_configurations` SET `value` = '0',
    `source` = 'PagerDuty' WHERE (`id` = '28');
    
  15. Specify the ‘ignore closed signal’ value of Pager Duty

    UPDATE `appsone`.`external_configurations` SET `value` = '1',
    `source` = 'PagerDuty' WHERE (`id` = '32');
    
  16. After executing all the previous queries, execute the below query to update the STATUS AS 1:

    UPDATE `appsone`.`external_configurations` SET `status` = '1' WHERE
    `source` = 'PagerDuty';