Skip to content

Commit cb90926

Browse files
committed
[Change] monitor: observability for 100%-filtered cycle; issue #485
[Change] Emit eout log line when _event_count > 0 but _tot_files == 0 (every queued event dropped by tier-2 size/ext/perm/owner find filter) so operators can self-diagnose silent no-scan cycles without enabling verbose logging.
1 parent 87c3df1 commit cb90926

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ v2.0.1 | Mar 25 2026:
8484

8585
-- Changes --
8686

87+
[Change] monitor: log filtered-cycle event count when all events dropped by
88+
tier-2 scan filter (_event_count > 0 but _tot_files == 0); issue #485
8789
[Change] Vendored libs synced to canonical: tlog_lib 2.0.6, alert_lib 1.0.7, elog_lib 1.0.6, pkg_lib 1.0.10 (zero functional change)
8890
[Change] Alert templates: consolidate summary into headers; drop "TOTAL" prefix from
8991
labels (HITS/CLEANED/QUARANTINED); add quarantine metrics; aligned column spacing

CHANGELOG.RELEASE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ v2.0.1 | Mar 25 2026:
8484

8585
-- Changes --
8686

87+
[Change] monitor: log filtered-cycle event count when all events dropped by
88+
tier-2 scan filter (_event_count > 0 but _tot_files == 0); issue #485
8789
[Change] Vendored libs synced to canonical: tlog_lib 2.0.6, alert_lib 1.0.7, elog_lib 1.0.6, pkg_lib 1.0.10 (zero functional change)
8890
[Change] Alert templates: consolidate summary into headers; drop "TOTAL" prefix from
8991
labels (HITS/CLEANED/QUARANTINED); add quarantine metrics; aligned column spacing

files/internals/lmd_monitor.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ _monitor_cycle_tick() {
376376
_tot_files=$($wc -l < "$_filtered_list" 2>/dev/null) || _tot_files=0
377377
if [ "$_tot_files" -eq 0 ]; then
378378
command rm -f "$_filtered_list"
379+
eout "{mon} filtered $_event_count event(s) — none passed scan filter"
379380
_monitor_housekeeping
380381
return
381382
fi

0 commit comments

Comments
 (0)