Skip to content

Feat/alert suppression maintenance windows - #373

Merged
TheWitness merged 13 commits into
developfrom
feat/alert-suppression-maintenance-windows
Sep 23, 2026
Merged

TheWitness merged 13 commits into
developfrom
feat/alert-suppression-maintenance-windows

Conversation

@bmfmancini

@bmfmancini bmfmancini commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Feat:

Allow Alarm suppression at both the Alarm rule level or globally
Support for a reoccurring schedule or one time

…ase telemetry, and rule preview

- Partition maintenance fail-safe: syslog_partition_manage() stops all
  partition actions when metadata is invalid or a required partition
  cannot be created; the dMaxValue safety partition is never dropped;
  blocked maintenance is logged with a remediation step and shown on
  the Syslog Status page.
- Bounded multi-day partition recovery: a new 'Partition Recovery
  Limit' setting caps partitions created per table per poller run;
  recovery runs sequentially for syslog and syslog_removed, retention
  pruning stays deferred until the future write horizon exists, and
  each blocked run reports the gap, stop reason, and dMaxValue risk.
- Collector health on Syslog Status: last received log timestamp,
  oldest unprocessed incoming age, incoming backlog, records processed
  in the latest run, and warnings driven by the new 'Collector
  Staleness' and 'Collector Backlog Threshold' settings; unavailable
  metrics read as Unavailable.
- Per-phase processing telemetry: partition maintenance, reference
  updates, removal rules, alert evaluation, incoming transfer, and
  report processing record start/end/duration/count through the
  syslog_status mechanism; Syslog Status shows phase timings and the
  slowest phase.
- Rule preview: a 'Test rule' action in the alert and removal editors
  compiles the rule through the existing QueryBuilder/parameterized
  paths and returns a bounded, escaped preview without any side
  effects; gated on realms and CSRF.

Tests: 142 passed (667 assertions) via Pest; php -l clean on all files;
standalone tests/regression scripts pass; locales/po/cacti.pot
regenerated with locales/build_gettext.sh
…sion-maintenance-windows

# Conflicts:
#	locales/po/cacti.pot
#	syslog_alerts.php
#	tests/Security/RulePreviewTest.php
@TheWitness
TheWitness merged commit 5a3e4e4 into develop Sep 23, 2026
7 checks passed
@TheWitness
TheWitness deleted the feat/alert-suppression-maintenance-windows branch September 23, 2026 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants