Sending Slack Messages with Python :: Aaron's Worthless Words
Here’s a quick summary of what we’ve talked about in the last few posts – all with Python.
We’ve asked Netbox to provide some info using pynetbox.
We’ve added stuff to Netbox using pynetbox.
We’ve updated and deleted stuff in Netbox using pynetbox.
We’ve logged our messages with Python logging.
This is all fine and dandy, but I would guess that you’re not the only engineer in the company and production maintenance scripts don’t run off of your laptop. We need a way to let a group of people know what’s happening when one of your scripts is run. And please don’t say email. Email has been worthless for alerting for over a decade, and there are better ways to do it. Search your feelings…you know it to be true!
Sending Slack Messages with Python