Add incident exports, queue SLA, and OpenWrt diff utilities
This commit is contained in:
@@ -56,11 +56,14 @@ HELP_PAGES = [
|
||||
"🛠 **Admin & Deploy**\n\n"
|
||||
"Config: `/config_check`, файл `config.yaml` (см. config.example.yaml).\n"
|
||||
"Deploy: `deploy.sh` (ssh 10.10.10.10:1090 → git pull → systemctl restart tg-bot).\n"
|
||||
"Incidents summary: `/incidents_summary`.\n"
|
||||
"Incidents export: `/incidents_export [hours] [csv|json]`.\n"
|
||||
"Alerts log: `/alerts_log [hours]`.\n"
|
||||
"Incidents: `/incidents_summary`, `/incidents_diff [hours]`.\n"
|
||||
"Export: `/incidents_export [hours] [csv|json]`, `/export_all [hours]` (zip).\n"
|
||||
"Alerts log/heatmap: `/alerts_log [hours]`, `/alerts_heatmap [hours] [cat]`.\n"
|
||||
"Backup SLA: `/backup_sla`; Docker restarts: `/docker_restarts [hours]`.\n"
|
||||
"Disk snapshot: `/disk_snapshot`.\n"
|
||||
"Queue history: `/queue_history`.\n"
|
||||
"Queue: `/queue_history`, `/queue_sla`.\n"
|
||||
"Self-test history: `/selftest_history`.\n"
|
||||
"OpenWrt leases diff: `/openwrt_leases_diff`.\n"
|
||||
"BotFather list: `/botfather_list`.\n"
|
||||
"Безопасность: `safety.dry_run: true` блокирует опасные действия.\n"
|
||||
"OpenWrt: кнопка в System → Info.",
|
||||
@@ -128,9 +131,11 @@ alerts_list - List active mutes
|
||||
alerts_recent - Show recent incidents (24h)
|
||||
alerts_mute_load - Mute load alerts for 60m
|
||||
alerts_log - Show suppressed alerts
|
||||
alerts_heatmap - Hourly incidents heatmap
|
||||
backup_run - Run backup (queued)
|
||||
backup_history - Show backup log tail
|
||||
queue_history - Show queue recent jobs
|
||||
queue_sla - Queue SLA stats
|
||||
docker_status - Docker summary
|
||||
docker_health - Docker inspect/health by alias
|
||||
docker_health_summary - Docker health summary (problems only)
|
||||
@@ -139,8 +144,14 @@ openwrt_wan - OpenWrt WAN only
|
||||
openwrt_clients - OpenWrt wifi clients
|
||||
openwrt_leases - OpenWrt DHCP leases
|
||||
openwrt_fast - OpenWrt quick WAN view
|
||||
openwrt_leases_diff - OpenWrt DHCP diff
|
||||
incidents_summary - Incidents counters (24h/7d)
|
||||
incidents_export - Export incidents (hours fmt)
|
||||
incidents_diff - Show incidents since last check
|
||||
export_all - Zip with incidents/queue/selftest
|
||||
backup_sla - Backup SLA check
|
||||
docker_restarts - Docker restart history
|
||||
selftest_history - Self-test history
|
||||
disk_snapshot - Disk usage snapshot
|
||||
config_check - Validate config
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user