PTah
9e756674d0
fix: daily report без локального Telegram при fallback SAC (2.1.6-SAC)
...
Суточные report.daily.* уходят только в SAC/spool; SAC_TIMEOUT_SEC=45;
приоритет report.* в sac_flush_spool, до 50 файлов за цикл.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-06 12:00:35 +10:00
PTah
0a80effd77
docs: sync README version with version.txt 2.1.5-SAC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 14:14:43 +10:00
PTah
de61c6c771
fix: daily report active users count matches who sessions (2.1.5-SAC)
...
Include local/console who lines; active_count from session list not raw who line count.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-23 14:41:52 +10:00
PTah
c96e870542
feat: enrich SAC events with session_id, tty and source_ip (2.1.4-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-22 10:13:40 +10:00
PTah
489d071208
feat(deploy): sync SERVER_IPV4 hint and DAILY_REPORT_ENABLED on update (2.1.3-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-22 10:01:16 +10:00
PTah
1361fd264c
feat: merge missing SAC keys into config on deploy (2.1.2-SAC)
...
Append absent SAC variables from example instead of overwriting ssh-monitor.conf; set UseSAC=fallback on install and update.
2026-06-21 12:20:33 +10:00
PTah
65da13363d
docs: 2.1.1-SAC README and SAC REPO_URL override
...
Описано, что SSH-обновление из SAC передаёт REPO_URL/GIT_BRANCH из настроек агентов.
2026-06-20 20:03:58 +10:00
PTah
31fcc4a8a7
merge: kalinamall main with 2.1.1-SAC updater git fix
2026-06-20 19:29:05 +10:00
PTah
2ff60280ef
fix: default updater git to kalinamall and honor REPO_URL from SAC (2.1.1-SAC)
...
Always sync kalinamall remote from REPO_URL; support GIT_BRANCH env for SAC-driven updates.
2026-06-20 19:28:14 +10:00
PTah
9118bbdd64
chore: add .cursorignore to gitignore
2026-06-20 19:20:34 +10:00
PTah
cdb74393aa
docs: concise README with SAC integration and version 2.1.0-SAC
2026-06-20 19:20:34 +10:00
PTah
b6d9901f05
chore: bump version to 2.1.0-SAC
2026-06-20 19:20:34 +10:00
PTah
76fc865d22
chore: add .cursorignore to gitignore
2026-06-20 19:07:52 +10:00
PTah
bffc7f3245
docs: concise README with SAC integration and version 2.1.0-SAC
2026-06-20 19:02:59 +10:00
PTah
9b454c3270
chore: bump version to 2.1.0-SAC
2026-06-19 23:42:12 +10:00
PTah
619cc9e1ac
chore(github): remove kalinamall/papatramp mirror scripts
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-16 11:57:03 +10:00
PTah
577db1da47
chore(docs): sync repository URLs for kalinamall mirror
2026-06-16 11:37:52 +10:00
PTah
2956d14d94
chore(docs): GitHub repo URLs, remove .cursor from git, mirror scripts
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-16 11:36:51 +10:00
PTah
9a3855bf0a
feat: deploy дописывает HEARTBEAT_INTERVAL при отсутствии в конфиге (2.0.6-SAC)
...
Явная проверка ключей в /etc/ssh-monitor.conf, блок 240 мин + watchdog; исправлен текст startup heartbeat.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 16:46:41 +10:00
PTah
4cd1a85b3e
feat: send agent.heartbeat on service startup (2.0.5-SAC)
...
After agent.lifecycle on boot, send heartbeat so SAC marks host online until next interval.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 11:51:16 +10:00
PTah
42af3b1ae6
fix: sync heartbeat interval on every deploy run
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 09:26:03 +10:00
PTah
7e5cad0231
feat: install ssh-monitor-watchdog on agent update (2.0.4-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 17:41:47 +10:00
PTah
e576671580
chore: bump release to 2.0.3-SAC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 17:38:56 +10:00
PTah
908f8958a4
feat: heartbeat 4h via HEARTBEAT_INTERVAL_MINUTES (2.0.2-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 17:25:19 +10:00
PTah
59ba8cf811
chore: sync Cursor rules from CursorRules (version bump RDP/SSH split)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 09:31:56 +10:00
PTah
84b8dab561
chore: add Cursor rule to bump SSH_MONITOR_VERSION and version.txt on script changes
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 09:29:23 +10:00
PTah
2bed9516ec
chore: bump release to 2.0.1-SAC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 09:17:28 +10:00
PTah
3d0876bb0b
feat: deploy UseSAC fallback by default on install and script upgrade
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 09:15:22 +10:00
PTah
df77d8763f
chore: bump release to 2.0.0-SAC
...
Major version line for NETLOGON deploy upgrades from 1.x agents.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 09:05:52 +10:00
PTah
79f5b664b2
feat: lifecycle notification_body and aligned host label 1.2.13-SAC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 18:11:28 +10:00
PTah
cf4e3b2e90
feat: lifecycle telegram_via routing and lifecycle details 1.2.12-SAC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 12:26:14 +10:00
PTah
e1a37b8f89
feat: notification source line in agent alerts (1.2.11-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 11:52:42 +10:00
PTah
70652bc6cb
feat: Agent version line in daily SSH report (1.2.10-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 11:28:30 +10:00
PTah
192713d2da
chore: release 1.2.9-SAC (align version.txt and SSH_MONITOR_VERSION)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 11:18:58 +10:00
PTah
454a220890
fix: daily report HTML line breaks without double spacing
...
Use single <br> in report_html and document DAILY_REPORT_ENABLED toggle.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-30 09:52:09 +10:00
PTah
3820687310
feat: unify daily SSH report format with SAC; DAILY_REPORT_ENABLED toggle
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-29 17:17:59 +10:00
PTah
eceac58a60
feat: include host.ipv4 in SAC payload and release 1.2.7-SAC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 13:33:40 +10:00
PTah
3e1199e2ec
chore: align ssh monitor and SAC module version 1.2.6-SAC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 13:01:51 +10:00
PTah
8c542624eb
feat: SERVER_DISPLAY_NAME в SAC host.display_name (sac-client 1.2.6-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 11:49:23 +10:00
PTah
f06fbae8ee
fix: update_ssh_monitor fetch+reset after kalinamall force-push
...
Release 1.2.5-SAC; prefer kalinamall remote; ff-only or hard reset.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 09:40:13 +10:00
PTah
fe2a38857b
chore: release 1.2.4-SAC — SAC ingest HTTP 201/409/202
...
Bump SSH_MONITOR_VERSION; sac-client release tag; updater logs sac-client ver.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 09:34:19 +10:00
PTah
0e83d8825d
fix: accept SAC ingest HTTP 201, 409, and legacy 202
2026-05-28 09:13:13 +10:00
PTah
31c4265716
fix: log_action to stderr so captured paths stay valid
...
find_remote_ssh_monitor_path output was polluted by log_action on stdout,
breaking -f checks; mirror user messages to stderr instead.
2026-05-28 08:24:09 +10:00
PTah
731c50b0bc
fix: find ssh-monitor in clone via git checkout and broader search
...
Restore ssh-monitor from HEAD when missing on disk; try git ls-files and
find fallback; log clone root listing on failure.
2026-05-28 08:20:37 +10:00
PTah
7f4d25b91c
fix: sync /opt/scripts/update_ssh_monitor.sh from git clone each run
...
After git pull, copy updater from clone to DEPLOY_INSTALL_PATH and re-exec
once so cron always picks up new logging without manual cp.
2026-05-28 08:15:51 +10:00
PTah
f3b7c9d41c
feat: verbose update_ssh_monitor action log and run summary
...
Log each step to /var/log/update_script.log and stdout (unless --quiet).
End-of-run summary explains skip reasons: checksum match, git pull fail,
missing clone path, versions and sha256 prefixes.
2026-05-28 08:13:24 +10:00
PTah
d179b360f2
fix: heartbeat only to SAC, never Telegram/email
...
agent.heartbeat bypasses NOTIFY_CHAIN in all UseSAC modes; SAC ingest only.
Bump to 1.2.3-SAC.
2026-05-28 07:56:18 +10:00
PTah
dd980f0ba6
chore: bump release to 1.2.2-SAC
...
Increase SSH monitor release version used by sac-client payloads and refresh
RU/EN README references to the new version.
2026-05-27 15:53:29 +10:00
PTah
746a8f8f76
feat: bootstrap SAC config on update from pre-SAC installs
...
ssh-monitor.conf.example ships dual SAC + Telegram defaults; updater
overwrites /etc/ssh-monitor.conf when UseSAC is off or SAC_API_KEY empty
or sac-client.sh is missing, with backup. Leaves configured hosts untouched.
2026-05-27 15:23:35 +10:00
PTah
49ea1d2a7d
chore: bump version to 1.2.1-SAC
2026-05-27 14:44:03 +10:00