In Flashduty On-call
Get the integration email address in either of the two ways below. In both cases choose the Email integration type, not WhatsUp Gold.Use a dedicated integration
- In the Flashduty console, select Channels and open a channel
- Select Settings → Integrations → Dedicated integrations and click Add integration
- Select Email and click Save
- Open the new integration card, copy the email address, then configure the push rules below
Use a shared integration
- In the Flashduty console, go to Integration Center → Alert Events
- Select Email, enter an integration name and copy the email address
- Configure the push rules below
- Set a default route, select a channel and click Save
Configure push rules in Flashduty
- Set Push mode to Trigger or close alert based on rules
- Add the two rules below in this order. Each rule’s condition is Email title Match the given regex, and the Alert Key is extracted from the Email title
- Under Default rules, choose: if none of the above rules match, discard email
Configure WhatsUp Gold
WhatsUp Gold emails carry no alert ID, so the subject below includes the device display name and Flashduty extracts it as the Alert Key. The down and up emails differ only in the prefix, so both yield the same key and the up email closes the matching alert. The paths below are for WhatsUp Gold 2023.0.1
Create the down E-mail action in WhatsUp Gold
Where: WhatsUp Gold › SETTINGS › Action & Alerts › Actions and Policies › Actions › Add › E-mail
Percent variables are case sensitive and must not contain spaces.
%Device.DisplayName is the display name from the device’s General properties, %Device.Address is the device IP address, and %Device.State is the current state description, for example Down at least 2 min.To get one alert per monitor instead of per device, bind the action policy to a specific active monitor and append - %ActiveMonitor.Name to the subject of both actions. %ActiveMonitor.Name only has a value when the action is associated directly with an active monitor; it cannot be used in a device-level action policy.2
Create the recovery E-mail action in WhatsUp Gold
Where: WhatsUp Gold › SETTINGS › Action & Alerts › Actions and Policies › Actions › Add › E-mailCreate a second E-mail action for recovery with the same receiver and mail server settings as the previous step:
3
Create the action policy and apply it to devices in WhatsUp Gold
Where: WhatsUp Gold › SETTINGS › Action & Alerts › Actions and Policies › Action Policies › AddIn the Action Policy Builder, add two rules (Edit Policy Rule):
Save the action policy and apply it to the devices you want notifications for.
4
Trigger a device down and up and confirm
Where: A monitored device the action policy is applied toTake the device to Down and then back to Up (for example, disconnect a test device from the network and reconnect it). WhatsUp Gold sends email on state changes and has no button that sends a test event to Flashduty, so verify with a real state change. In Flashduty you should first see the device’s down alert and then see it closed by the up email; the integration shows Latest event time, which means the setup works.
Limitations
- Recovery needs an up action: Flashduty receives recovery emails only if the action policy has an action on the Up state change. Without one, turn on the auto-resolve timeout in the channel that receives this integration; 24 hours is a reasonable start.
- Repeated notifications: with Repeat action checked in the policy, the down email is resent at the interval. The titles are identical, so they merge into one alert.
- Severity: in Flashduty these alerts show the Email integration type, and their severity is always Warning. You can adjust it with alert pipelines.
- Rules depend on the subject: if you change the subject templates, update the regexes in the rules to match.