## All I want is some notifications π A Tale of an Admin who dislikes email like, a LOT --- ## PSA STOP fascism END AfD END Republicans --- Meet Emily  --- Meet Emily  --- # JBOSS Just a Bunch of Silly Servers --- ## Handmade since 1992 (ish) (Nagios did not exist before 1999) --- ## But things need to work * cron jobs * urgent incoming trading messages * scripts failing --- # My face π© ## when I have to send email ## from my scripts --- Just let me # REST --- ```python [5-11|1-2] app_token = "nsvnad82bqr84nv01381qnnf32nc92" user_tokens = { "felix": "isv983nc9qcnve0pjer9gvn2q892mb" } def send_notification(message, user): conn = http.client.HTTPSConnection("api.pushover.net:443") conn.request("POST", "/1/messages.json", urllib.parse.urlencode({ "token": app_token, "user": user_tokens[user], "message": message, }), { "Content-type": "application/x-www-form-urlencoded" }) return conn.getresponse() ``` --- It's magic! # Step one: Register https://pushover.net/ --- It's magic! # Step two: Pay up Teams: $5 per user / month Individuals: $5 per platform / life --- It's magic! ## Step three: ## Create application endpoints These can include icons to tell notifications apart easily ---  --- The # REST is just # HTTP ---  --- ## HTTP Works on anything with a TCP stackβ’οΈ --- ## Or just stuff it into your favourite monitoring solution --- I have been Felix. π [@felixf@chaos.social](https://chaos.social/@felixf) π¦ [@felix-frank.net](https://bsky.app/profile/felix-frank.net) Show me your ugliest shell scripts π₯°