How To Setup A Notification System For Labs And Home Networks
ฝัง
- เผยแพร่เมื่อ 3 มิ.ย. 2024
- Sending and receiving notifications from IT devices is extremely important
And in this video we show how to setup a notification system for labs and home networks
Whether something has gone wrong or a capacity limit has been reached, you'll want to know so that you can take action
But if you have a lab or home network, setting up your own internal email server isn't always practical
And that's where an SMTP gateway like Mailrise can help
You still send emails to it but it converts and forwards these on to messaging services like Discord, Pushover, Slack, etc
And this can be very useful because you won't have to store public credentials on all of your devices that need to send alerts
What we'll cover, is how to install Mailrise in Docker and configure this and Slack so you can receive alerts
=============================
SUPPORT THE CHANNEL
Donate through Paypal:
paypal.me/DavidMcKone
Donate through Buy Me A Coffee:
buymeacoffee.com/dmckone
Become a monthly contributor on Patreon:
/ dmckone
Become a monthly contributor on TH-cam:
/ techtutorialsdavidmckone
==============================
=============================
MY RECORDING HARDWARE:
Blue Yeti USB Microphone
amzn.to/3IfL3qm
Blue Radius III Custom Shockmount for Yeti and Yeti Pro USB Microphones
amzn.to/3G3f89P
RØDE PSA1 Professional Studio Arm
amzn.to/3Z3lPBF
Aokeo Professional Microphone Pop Filter
amzn.to/3VuZl9H
Sony Alpha ZV-E10L Mirrorless Camera
amzn.to/3ITHCoU
Elgato Cam Link 4K Capture Card
amzn.to/43CzQaT
Neewer NP-FW50 Dummy Battery Charger Kit
amzn.to/3qp9Q4s
Elgato Key Light Air - Professional 1400 lumens Desk Light
amzn.to/3G81OB9
Neewer 2 Packs Tabletop LED Video Light Kit
amzn.to/3CcuN5O
Elgato Green Screen
amzn.to/3CoJBOL
=============================
==============================
MEDIA LINKS:
Website - www.techtutorials.tv/
Twitter - / dsmckone1
==============================
For more technical information, including commands used, check out our blog post
www.techtutorials.tv/sections...
Useful Links:
github.com/YoRyan/mailrise
github.com/caronc/apprise
github.com/caronc/apprise/wik...
slack.com
api.slack.com/apps
Chapters:
00:00 Intro
00:47 Assumptions
01:06 Setup Mailrise
03:08 Create Slack Account
06:12 Create Slack App
07:05 Create Slack Bot
08:46 Add Bot To Channel
09:20 Configure Mailrise
11:03 Testing
14:33 Summary
mailrise docker,mailrise,send email alerts,send alerts to slack,send email alerts to slack using mailrise,send email alerts to slack,how to install mailrise on docker - วิทยาศาสตร์และเทคโนโลยี
Interesting method for notifications. Cool videos. Sub'd!
Good to know the video was useful and thanks for the sub
My question to you
I am able to get message on slack channel however
How can I defined alerting criteria to get my proxmox cluster alert on my slack ?
where should I define those alert ?
How can I use mailrise to send it to my
1) email
2) slack
Proxmox VE now has a built-in notification service which offers rule matching
You can find it at Datacenter | Notifications
I haven't used it myself though as my cluster is still using the older Postfix method. This works as is, so I've no incentive to change it
Mailrise supports a lot of alerting methods
This video covers sending messages to slack, by sending emails to slack@mailrise.xyz
But if you want to forward emails instead, you will need to add those options to the config
Check out the Apprise repository for more info
github.com/caronc/apprise
I hate to be that guy but.... First!
I forgot all about slack, I am intrigued...
Yeah, I tried other services...but Slack is free and it has an app so...
@@TechTutorialsDavidMcKone Did you try Discord? I am guessing they require a nitro+ or something for api access though
Thanks for that great video. Could you please make a new one how to authenticate against mailrise or how to use with tls. I read about that you can use it behind traefik. Have you experiance about that?
I can certainly add a video covering authentication and TLS for mailrise to my list
But I don't use reverse proxies like Traefik
I can see some benefit if you have public facing solutions or old devices that don't support TLS
But long gone are the days of unencrypted traffic on an internal network, so in the case of mailrise it would require extra work
The big problem for me though is these break end to end encryption and I ran int the same challenge with F5 Load Balancers for instance
This is because one of the major selling points is to offload the TLS traffic and when you do that the privacy between the client and end server is lost