Post Ad3hkvlEX4b8mD0CUy by iank@hostux.social
(DIR) More posts by iank@hostux.social
(DIR) Post #Ad3YbIsUpULJzQjZJ2 by iank@hostux.social
2023-12-22T04:26:33Z
0 likes, 0 repeats
Multi-post #1 https://prometheus.io/ headline "Power your metrics and alerting with the leadingopen-source monitoring solution." But alerting, it doesn't do that, it just offers some verbose data and hopes other people trim it down and alert you. It lists 43 programs that will do the job, 4 of which are designed to give you a message & are free software: email, xmpp, irc, & gotify...
(DIR) Post #Ad3ZfnzTCCjfb0hr5k by iank@hostux.social
2023-12-22T04:38:33Z
0 likes, 0 repeats
Of the 4: email is what I'd recommend. Run an imap server next to prometheus. Dovecot is popular, but I'm also running courier. Run postfix or exim for going between. There are reliable email clients, and most cell carriers have smtp to sms gateways. To send a tiny ephemeral messages from within my small team, it feels a bit like sledge hammer. Ok, what about the other options?
(DIR) Post #Ad3aXuWP83y5UPuW4u by iank@hostux.social
2023-12-22T04:48:20Z
0 likes, 0 repeats
Gotify: slick website, seems to be designed for basically this use case. Despite the website suggesting it is a project with goals, it is mostly just has one author who scratched their itch and is now telling everyone to go away and be happy with how it is. No, you can't receive messages from more than one server, single avoiding a single point of failure, staging, testing: none of that is in scope.
(DIR) Post #Ad3cLNjTPdokEGB2R6 by iank@hostux.social
2023-12-22T05:08:29Z
0 likes, 0 repeats
I just lost my xmpp post? I'm tired. Prosody: "setup a server in 30 minutes." Yes, you can. But there are 2 programs that translate from prometheus to prosody, both look to be written in a few weekends then neglected, poorly documented, not very good features, likely to hit bugs, not used by many people. I went down this route, hit a bug and spent many hours learning someone else's code, so, I have the wizard hat, and now that I do, I'm not giving it up, but you probably don't want it.
(DIR) Post #Ad3eAZnMQItqMbyEq0 by iank@hostux.social
2023-12-22T05:28:56Z
0 likes, 0 repeats
IRC. This translation program (aka irc bot), has significantly worse documentation than the xmpp ones, has a lot more code, and and hasn't been touched in 5 years. I'd definitely be better starting from scratch. Learning IRC server software is not nearly as inviting as prosody. Oh well, I'm thankful the libera.chat admins, irc servers are a wonderful community meeting ground and I even wrote a little bot recently. You don't need to know how it all works, it works, it is hackable, it is great.
(DIR) Post #Ad3hkvlEX4b8mD0CUy by iank@hostux.social
2023-12-22T06:09:07Z
0 likes, 0 repeats
There's a 5th way I overlooked. There seems to be 2 or 3 matrix bots out there. I got turned off by Matrix's pushing of nonfree captcha programs on users. There are lots of public communication servers with a lot less lines of code that let users in without nonfree captchas. I don't yet know if a matrix server + client + bot could be a good option, it looks to require wading through a lot of irrelevant docs and complexity. Maybe some day.
(DIR) Post #Ad3kyBWVXTLjI37si8 by iank@hostux.social
2023-12-22T06:45:04Z
0 likes, 0 repeats
Oh ya, after all that, hacking up some polling is a legitimate option: #!/bin/bash while true; do wget -O- prometheus-server/api | grep something; then mpv sound; sleep 60; done