feat: Agent version line in daily SSH report (1.2.10-SAC)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
PTah
2026-05-31 11:28:30 +10:00
parent 192713d2da
commit 70652bc6cb
4 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -7,7 +7,7 @@ IFS=$'\n\t'
# ============================================
CONFIG_FILE="/etc/ssh-monitor.conf"
SSH_MONITOR_VERSION="1.2.9-SAC"
SSH_MONITOR_VERSION="1.2.10-SAC"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [ -f "$SCRIPT_DIR/sac-client.sh" ]; then
@@ -1737,6 +1737,7 @@ send_daily_report() {
local message=""
message+="📊 ЕЖЕДНЕВНЫЙ ОТЧЕТ SSH МОНИТОРИНГА"$'\n'
message+="Agent version ${SSH_MONITOR_VERSION:-unknown}"$'\n'
message+="🖥️ Сервер: $(server_display_name_with_ip)"$'\n'
message+="🕐 Время отчета: ${current_time}"$'\n'
message+=""$'\n'