Add quiet hours, health checks, and logging
This commit is contained in:
@@ -8,8 +8,9 @@ Telegram admin bot for Linux servers. Provides quick status checks, backup contr
|
||||
- Arcane: list projects, refresh, up/down, restart.
|
||||
- Backups (restic): snapshots, repo stats, run backup, queue, restic check, weekly report.
|
||||
- System: disks, security, URLs health, metrics, package updates, upgrade, reboot, hardware info, SSL cert status (NPMplus).
|
||||
- Alerts: disk/load and SMART monitoring with cooldown.
|
||||
- Alerts: disk/load/SMART with cooldown and quiet hours.
|
||||
- Audit log: all button presses and messages (weekly rotation).
|
||||
- Logs: bot log rotation and incidents.
|
||||
|
||||
## Requirements
|
||||
|
||||
@@ -68,4 +69,5 @@ GNU GPL v3.0. Full text in `LICENSE`.
|
||||
|
||||
- For NPMplus with self-signed TLS, set `npmplus.verify_tls: false`.
|
||||
- The bot uses `sudo` for certain actions (reboot, upgrade, backup scripts). Ensure the service user has the required permissions.
|
||||
- Enable `safety.dry_run` if you want a safe mode without actions.
|
||||
- Audit log default path is `/var/server-bot/audit.log`.
|
||||
|
||||
Reference in New Issue
Block a user