A search seems to indicate that it is possible to be notified if a feed stops. However, I can’t find where to set that up. For logging in, it seems there are two ways, email/password and feeder. I belive I have never had an email/password set up. Is that required to set up notifications? If not, how do I navigate to the setup by logging in as feeder?
For context, I used to use Spectrum with a static IP. Due to frequent outages on their part, I’ve switched to an ISP that doesn’t use static IPs. That means my previous way of monitoring my feed, using uptimerobot doesn’t work, so I’m looking for an alternative. Since my feeder feeds flightaware and adsbexchange, I’m hoping adsbexchange can notify me when the site has been down for a period that’s shorter than the period flightaware uses (24 hours I think). The service I was using before uses 5 minutes.
Yes, you need to create an account at account.adsbexchange.com and link you feeder (“receiver”) to it (this must be done from the same IP address as the feeder). You’ll see the option for down notifications when you do the linking.
if you are on linux/pi you can run this script in sudo cron every 5 minutes that will message on telegram if readsb isnt active, this does nothing if your internet is down and hard to make a notification if the machine doesnt have connectivity
#!/bin/bash
check=$(sudo systemctl is-active readsb)
checkflag=$?
if [ "$checkflag" -ne 0 ]; then
TOKEN=""
CHAT_ID=""
curl -sf -X POST "https://api.telegram.org/bot${TOKEN}/sendMessage" \
-d "chat_id=${CHAT_ID}" \
-d "text=the ASDB is down!! Error: $check" \
> /dev/null
fi
just need to create a /newbot in telegram with @botfather and fill in the token and chat_id variables and setup the sudo cron which will work 1st try because cron jobs always work /s