Monitor scripts/apps and take advantage of (mobile) notifications
-
I've only been using it for Pull type monitoring, so far.
Until today, I just discovered one can add a new monitor type called Push.
This provides you a Push URL like this (Optional parameters: status, msg, ping):
https://uptimekuma.1heal.org/api/push/U20C3xxxx?status=up&msg=OK&ping=So a script output, like cronjobs can be monitored like this:
#!/bin/bash # Filename: index.sh PUSH_URL="https://example.com/api/push/key?status=up&msg=OK&ping=" INTERVAL=3600 while true; do curl -s -o /dev/null $PUSH_URL echo "Pushed!" sleep $INTERVAL doneEven apps and containers starting up..
And preventative disk usage checking and other stats which @staff could integrate with Cloudron to send Push messages via Uptime Kuma.
Since I already use it for monitoring websites, I get to piggyback on the free notifications too!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login