in reply to Perl script for capturing SNMP Alerts.

DISCLAIMER: this is strictly not what you asked for. Apology.

Some time ago, I have had to solve the problem of sending a notification about failures from a batch job which was executed every 5 minutes or so, and had success with simple Slack app. You might want to check https://metacpan.org/pod/Slack::Notify.

Conceptually, this is what you would do:

  1. Create a Slack workspace
  2. Create a channel within the workspace
  3. Create a Slack app
  4. Enable incoming webhooks on the app
  5. Enjoy the module

The advantage of this approach is that you can get push notification directly to your mobile phone, via Slack.

  • Comment on Re:Perl script for capturing SNMP Alerts.