Add troubleshooting log instructions

This commit is contained in:
2026-02-07 22:35:57 +08:00
parent d3ba9a9b1d
commit 943c3d60f1

View File

@@ -20,7 +20,7 @@ Upload file-file berikut dari folder backup ini ke router OpenWrt (gunakan SCP a
- `upsd.users` (User Monitor)
- `upsmon.conf` (Setingan Monitor & Notifikasi)
- `nut.conf` (Mode Netserver)
- `notify_mikrotik.sh` (Script Notifikasi Utama)
- `notify_mikrotik.sh` (Script Notifikasi Utama - Telegram Disabled)
2. **Folder `/etc/init.d/`**:
- `nut-server` (Script Startup Server)
@@ -69,3 +69,11 @@ Coba test apakah notifikasi berjalan:
/etc/nut/notify_mikrotik.sh "TEST_INSTALL"
```
Jika sukses, log akan muncul di MikroTik dan pesan masuk ke Telegram.
## 7. Troubleshooting (Cek Log)
NUT merekam log ke System Log (syslog). Untuk melihatnya:
```bash
logread | grep ups
```
Ini karena di `upsmon.conf` kita set `NOTIFYFLAG ... SYSLOG`.