In Flashduty On-call
You can get the integration push URL in either of the following ways.Use a dedicated integration
- In the Flashduty console, go to Channels and open a channel
- Select Configuration → Integrations → Private integration, then click Add integration
- Select IBM SevOne NPM and click Save
- Open the generated integration card and copy the Push URL
Use a shared integration
- In the Flashduty console, go to Integration Center → Alert Events
- Select IBM SevOne NPM and enter an integration name
- Configure the default route and select a channel. You can add more rules under Routing after creation
- Click Save and copy the generated Push URL
Configure SevOne NPM
Create two Webhook Definitions: one sent when an alert triggers, one sent when it clears.1
Create the trigger webhook in SevOne NMS
Where: SevOne NMS › Events › Configuration › Webhook Definition ManagerClick Test Definition to check that the request can be sent, then click Save. The documentation does not describe the request body that Test Definition sends, and it usually has no valid
alert_id and event, so it only proves connectivity and does not prove that an alert can be created. Verify with a real alert (see the last step).2
Create the clear webhook in SevOne NMS
Where: SevOne NMS › Events › Configuration › Webhook Definition ManagerCreate a second definition the same way. All fields match the previous step except these two:
3
Assign the webhooks to policies
Where: SevOne NMS › Events › Configuration › Policy Browser › Assign Webhooks
Assign the clear webhook to the same policies, otherwise Flashduty alerts do not recover automatically.
4
Trigger a real alert and confirm
Where: SevOne NMS › Events › AlertsLet a policy trigger and confirm Flashduty shows an active alert. Then let it clear (the condition recovers, or acknowledge it manually under Events → Alerts) and confirm the alert recovers.Back in Flashduty, the integration shows Latest event time, which means the setup works.
Payload
Each field is the substitution of one SevOne variable (see IBM’s Webhook Definition Manager):
SevOne outputs
n/a for a variable a policy type does not support (for example $pluginName on flow policies). Flashduty ignores n/a.
Alert key
Flashduty usesalert_id ($alertId, described by IBM as “The id of the triggered alert”) as the Alert Key. Repeated triggers and the clear of one SevOne alert carry the same alert_id, so they land on one Flashduty alert. Changing the policy name, severity or message does not change the Alert Key.
If alert_id is empty, n/a, or still the unsubstituted $alertId, Flashduty returns a parameter error.
Status and severity
$alertState is the policy severity. A clear event keeps the alert’s severity and sets the status to recovered.
FAQ
Does Test Definition create an alert in Flashduty?
Does Test Definition create an alert in Flashduty?
IBM documents only that Test Definition returns the status code, response header and body; it does not document the test body. If the test request carries a valid
alert_id and event, it creates or closes an alert like a real notification; without them Flashduty returns a parameter error. Close any alert created by a test manually.Can I configure only the trigger webhook?
Can I configure only the trigger webhook?
Alerts arrive, but Flashduty alerts do not recover automatically. Enable auto-close on timeout in the integration or channel, or add the clear webhook.
Does a policy that keeps triggering create several alerts?
Does a policy that keeps triggering create several alerts?
No. Every trigger of the same SevOne alert has the same
alert_id and merges into one Flashduty alert.Can trap alerts be connected?
Can trap alerts be connected?
The templates on this page are for the Policy type. Trap definitions use a different variable set and are out of scope for this integration.
Troubleshooting
- SevOne cannot deliver: check that Destination URL is the complete push URL; for a self-signed TLS certificate, check Allow insecure webhook connection, and use a certificate with a SAN rather than only a Common Name
- Flashduty returns a parameter error: check that Content Type is application/json,
eventistriggerorclear, andalert_idhas a value - Alert does not recover: check that the clear webhook is assigned to the same policy with Clear checked