Add troubleshooting log instructions
This commit is contained in:
@@ -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`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user