chore: Update MikroTik login IP in documentation and disable Telegram notifications in the script.

This commit is contained in:
2026-02-08 07:33:50 +08:00
parent a7e4065bbd
commit 57ca02aeb8
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ Agar OpenWrt bisa kirim perintah ke MikroTik tanpa password, Anda harus membuat
*(Copy tulisan yang muncul, biasanya diawali `ssh-rsa ...`)*
3. **Import ke MikroTik**:
- Login ke Winbox MikroTik (192.168.7.25 & 192.168.7.30).
- Login ke Winbox MikroTik (192.168.7.1 & 192.168.7.30).
- Masuk ke menu **System -> Users -> SSH Keys**.
- Import key tersebut untuk user `upsuser`.

View File

@@ -11,7 +11,7 @@ DATE=$(date "+%Y-%m-%d %H:%M:%S")
MESSAGE="UPS Notification: $1 at $DATE"
# 1. Send to Telegram using CURL (Secure)
curl -s -X POST "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage" -d chat_id="$TELEGRAM_CHAT_ID" -d text="$MESSAGE" > /dev/null 2>&1 &
# # curl -s -X POST "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage" -d chat_id="$TELEGRAM_CHAT_ID" -d text="$MESSAGE" > /dev/null 2>&1 &
# 2. Send to MikroTik Routers
for IP in $MIKROTIK_TARGETS; do