feat: reliability, ops hooks, security checks, daily report

This commit is contained in:
2026-04-12 19:30:32 +10:00
commit e93fde7f52
8 changed files with 1569 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# Пример для /etc/logrotate.d/ssh-monitor
# Установка: sudo cp contrib/logrotate.d/ssh-monitor /etc/logrotate.d/ssh-monitor
# Пути должны совпадать с LOG_FILE и WATCHDOG_LOG_FILE в /etc/ssh-monitor.conf
/var/log/ssh_monitor.log
/var/log/ssh_monitor_watchdog.log {
weekly
rotate 12
compress
delaycompress
missingok
notifempty
create 0640 root root
sharedscripts
postrotate
# При необходимости отправьте сигнал процессу (если добавите обработку HUP)
/bin/true
endscript
}