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 Raritan.
Use a dedicated integration
- In the Flashduty console, select Channels and open a channel
- Select Settings → Integrations → Dedicated integrations and click Add an 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, select 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
The subject format below puts the device name, the event rule name and an assertion flag in the title. The flag
1 means the event condition became true and 0 means it cleared. The rules extract the device name and event rule name as the Alert Key. Trigger and resolve emails yield the same key, so a resolve email closes the matching alert.
- 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 Raritan PX
The paths below come from the Raritan PX-Series PDU user guide (firmware 4.3.11) and are used in the PDU web interface.
- SMTP: configure the mail server on the SMTP Server page; the Send email action uses it by default
- Create the action: go to Device Settings → Event Rules, create an action, choose Send email in Action, and enter the Flashduty email integration address in Recipient email addresses
- Email subject: select Custom subject and enter:
[DEVICENAME] (the device the event occurred on), [EVENTRULENAME] (the name of the matching event rule) and [ISASSERTED] (1 when the event condition became true, 0 when it became false) are placeholders listed in the user guide; they are replaced with actual values when the email is sent. A rendered subject looks like:
- Create the event rule: go to Device Settings → Event Rules, create a rule, select the event to watch (for example Above upper critical threshold of a temperature sensor), set Trigger condition to Both so the action runs when the event occurs and when it clears, and select the Send email action from step 2 in Available actions
- Email body: the rules read only the email title; the default or a custom message both work
Limitations
- Unique event rule names: the Alert Key is built from the device name and the event rule name, so events that share one rule name merge into one alert. Create a separate event rule with its own name for each event you want to monitor.
- Trigger condition: with Asserted only, the PDU sends trigger emails but no resolve emails, and alerts do not close automatically.
- Type and severity: in Flashduty these alerts show the Email integration type, and their severity is always Warning. You can adjust it with alert pipelines based on the title.