Hey all, For context, I am self-hosting a lot of different applications on a headless server and some of them are just scripts scraping content or doing automatic tasks.
I’ve been wondering for some time about how I should handle errors and how to be notified when they happen.
Currently, I need to connect to the server and read my logs to know that something has gone wrong. But I would like to get near instant notifications on my phone or computer.
I know I could send emails, try to use signal-cli or other messaging services but some of you might have better ideas.
Should I use one of these or is there some great technology I have never heard of?
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.
Hope you enjoy the instance!
Follow the wormhole through a path of communities !webdev@programming.dev
You could setup a status monitoring system and then configured it to send out messages for critical alerts. For example, I’m using Vigil to monitor my services and it’s configured to send email alerts when something is down and then sms alerts when things are still down for too long (in case I didn’t read the email).
You’re right ! I didn’t think about status page tools… It might be overkill for my setup but I will definitely look into it. Thank you.