Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re:Perl script for capturing SNMP Alerts.

by jahero (Pilgrim)
on Sep 16, 2020 at 12:38 UTC ( [id://11121834]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11121834]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found