Auto backup: 2026-02-21 07:01
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
|
||||
## What's Different?
|
||||
|
||||
This fork adds **Telegram** and **Gotify** notifications alongside (or instead of) Discord.
|
||||
This fork adds **Telegram** and **ntfy** notifications alongside (or instead of) Discord.
|
||||
|
||||
| Feature | Original | This Fork |
|
||||
|---------|----------|-----------|
|
||||
| Discord alerts | ✅ | ✅ (optional) |
|
||||
| Telegram alerts | ❌ | ✅ |
|
||||
| Gotify alerts | ❌ | ✅ |
|
||||
| ntfy alerts | ❌ | ✅ |
|
||||
| Multi-channel | ❌ | ✅ (simultaneous) |
|
||||
|
||||
## Quick Install
|
||||
@@ -25,8 +25,8 @@ chmod +x setup.sh watchdog.sh
|
||||
|
||||
The installer will ask for:
|
||||
- Telegram Bot Token
|
||||
- Gotify Token
|
||||
- Gotify URL (defaults to your setup)
|
||||
- ntfy Token
|
||||
- ntfy URL (defaults to your setup)
|
||||
|
||||
## Configuration
|
||||
|
||||
@@ -37,9 +37,10 @@ Edit `~/.openclaw/watchdog.env`:
|
||||
TELEGRAM_BOT_TOKEN=your_bot_token_here
|
||||
TELEGRAM_CHAT=1793951355
|
||||
|
||||
# Required for Gotify
|
||||
GOTIFY_URL=http://runtipi.kangaroo-eel.ts.net:8129
|
||||
GOTIFY_TOKEN=your_gotify_token_here
|
||||
# Required for ntfy
|
||||
NTFY_URL=https://ntfy.sh
|
||||
NTFY_TOPIC=anthony-krilly-9f3k2
|
||||
NTFY_MIN_PRIORITY=4
|
||||
|
||||
# Optional: Legacy Discord
|
||||
DISCORD_CHANNEL_ID=
|
||||
@@ -58,7 +59,7 @@ Same great watchdog behavior from the original:
|
||||
4. **Stage 3:** SOS alert after 3+ failures
|
||||
5. **Recovery:** Notification when gateway comes back
|
||||
|
||||
But now alerts go to **Telegram** and **Gotify** too!
|
||||
But now alerts go to **Telegram** and **ntfy** too!
|
||||
|
||||
## Managing the Service
|
||||
|
||||
@@ -74,7 +75,7 @@ tail -f ~/.openclaw/watchdog.log # View logs
|
||||
```bash
|
||||
export TELEGRAM_BOT_TOKEN="your_token"
|
||||
export TELEGRAM_CHAT="1793951355"
|
||||
export GOTIFY_TOKEN="your_token"
|
||||
export NTFY_TOPIC="your_topic"
|
||||
|
||||
# Source the functions and test
|
||||
source ~/.openclaw/watchdog.sh
|
||||
|
||||
Reference in New Issue
Block a user