Sending PDU Event Logs to Slack via Email
Our Smart PDUs support outbound notifications using SMTP email. You can configure your PDU to send event alerts (e.g., AutoPing failures, outlet reboots, etc.) directly into a Slack channel by generating a channel-specific email address.
- From your Slack desktop app, open the channel (or DM) you’d like to send email into.
- Click the channel name in the conversation header.
- Go to the Integrations tab.
- Select Send emails to this channel.
- Click Get Email Address.
- Copy the generated email address.
- Example:
[email protected]
- Example:
- (Optional) Share the address with channel members using the Slackbot prompt, or keep it private.
⚠️ Important: Copy this email address. This is what the PDU will use as the recipient.
2. Configure SMTP on the PDU
- Log in to the PDU’s web interface.
- Navigate to Network → SMTP.
- Enter your SMTP server details:
- SMTP Server Address: (e.g.,
smtp.gmail.com
or your corporate mail relay) - SMTP Port: Common values are
465
(SSL) or587
(TLS) - Enable TLS: Toggle On if supported by your mail server
- Authentication Required: Toggle On if credentials are required
- SMTP Username/Password: Enter your email credentials if required
- SMTP Server Address: (e.g.,
- Click Save Changes.
✅ At this point, your PDU knows how to send outbound emails.
3. Create an Event Trigger
- Navigate to Automation → Events in the PDU web UI.
- Click Create New Event.
- Configure your trigger (e.g., AutoPing Timeout to 8.8.8.8 after 5 failures).
- Save the event.
4. Add an Email Action
- In the event configuration screen, go to Add Action → Create New Action.
- Choose:
- Action Type:
Email Recipient
- Recipient Email Address: Paste the Slack channel email address from Step 1
- Action Name: (e.g.,
Send Alert to Slack
)
- Action Type:
- Save the action.
- Confirm that the action is now listed under List of Actions for Event.
5. Test the Setup
- Trigger the event manually (e.g., by setting a temporary AutoPing failure condition).
- Check your Slack channel.
- You should see an email-to-Slack notification appear in the channel.
Notes
- Format: The PDU sends plain text email. Slack will post this directly into the channel.
- Delivery Time: Emails may take a few seconds to appear.
- Multiple Recipients: You can add multiple email actions to an event if you want alerts to go to both Slack and a traditional email inbox.
Example Use Case
- Event Trigger: 5 consecutive failed pings to
8.8.8.8
- Action: Send email to Slack channel
#network-alerts
- Result: Your Slack channel receives an alert message as soon as the condition is met.
That’s it! 🎉 Your PDU is now pushing event logs directly into Slack via email.
Updated 21 days ago