PagerDuty provides alerting, on-call scheduling, escalation policies and incident tracking to increase uptime of your apps, servers, websites and databases. It is an Operations Platform for IT, available to notify your team and aggregate system information at every step of the incident lifecycle. The PagerDuty block allows you to combine PagerDuty's incident management capabilities with your PubNub Data Streams. For example, if you have a field of temperature sensors and the reading reaches a specific threshold, you can alert your support team to carry out actions with PagerDuty's wide variety of incident management features. Or if your chat app is powered by PubNub Pub/Sub Messaging, and a certain number of errors are returned, PagerDuty is activated and actions can be taken to resolve the issue.
This block allows the triggering of PagerDuty events by publishing the event payload to a predefined channel.
Publish message on input channel: pagerduty-event with the fields to trigger an event. The eventType and description fields are required.
{ "pagerduty": { "eventType": "trigger", "description": "CPU is melting", "incidentKey": "some-unique-key", "details": { "temperature": 250, "fanRPM": 0 }, "client": "System Monitor", "client_url": "https://my_system_monitor_url.whatever", "contexts": [{ "type": "image", "src": "https://link-to-nice-diagram.whatever" }] } }
Need help? Contact PubNub Support.
Copyright (c) 2018 PubNub
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.