This repository contains advance alerting scripts for Vercara's UltraWPM service that use the PagerDuty interface from the Alerting API to trigger a PagerDuty event.
- UltraWPM's PagerDuty interface doesn't support the V2 version of PagerDuty's Events API, you have to use V1.
- The implementation of JavaScript used by the scripting interface predates EMCAScript 6, hence the usage of prototypes.
- In
pduty_with_email.js
, the script will send an email from WPM in addition to triggering the PagerDuty event (this seems a bit redundant since PagerDuty will typically send an email) - The
ppduty_only.js
script is stripped down to only trigger PagerDuty
This project is licensed under the terms of the MIT license. See LICENSE.md for more details.