Alarm Batching
Introduction
The Alarm Batching feature consolidates multiple alarm notifications into periodic batch emails, reducing alert fatigue while maintaining critical alert visibility through intelligent bypass mechanisms. Introduced in Eyeglass 2.14, this feature allows Eyeglass to collect alarms over a defined period and send them in a single summary email instead of sending individual notifications.
Alarm Batching helps administrators manage notification volume more effectively by:
- Grouping related alarms into a single email
- Reducing inbox clutter from high-frequency alarms
- Maintaining immediate notification for critical alarms through bypass rules
- Providing flexible configuration options to match your operational needs
Alarm Controls (2.15.0 GUI)
Alarm batching is configured from the GUI at Alarms → Alarm Controls → Settings:
- Batch Window — the on/off switch for batching, plus the interval to wait before sending a batch.
- Critical Bypass — the global critical bypass toggle, described under Global Critical Bypass below.
- Max Batch Size — the maximum number of alarms in a single batch before it's sent immediately.
While Batch Window is on, the Alarm Severity Filter configured for email notifications (see Configure Email Notifications) is not applied. A batched report includes alarms of every severity, not only those at or above the configured threshold.
The Settings panel's own description states that batch timing is configured with the igls adv alertbatching set --window= command below, so the CLI reference in this page remains the correct source for exact commands, flags, and valid ranges.
Configuration Commands
Enable Alarm Batching
Enable alarm batching globally and start the batching service.
igls adv alertbatching set --enabled=true
What happens:
- Starts processing alarms into batches
- All alarms (except those bypassed) within a configurable period will be gathered together and sent in one batch email
- This batched email is sent every 5 minutes by default, although this can be configured to a longer or shorter period
Disable Alarm Batching
Disable alarm batching globally, flush pending batches, and shutdown the service.
igls adv alertbatching set --enabled=false
What happens:
- Flushes all pending batches (sends them immediately)
- Disables batching in configuration
- Future alarms will be sent individually
Set Batch Window
Controls how long to wait before sending a batch (in seconds). Valid range: 60–3600.
igls adv alertbatching set --window=900
What happens:
- All alarms within this time period will be batched
- Every 900 seconds, a new batched email will be sent
Set Maximum Batch Size
Controls the maximum number of alarms in a single batch. Valid range: 10–500.
igls adv alertbatching set --max-size=150
What happens:
- When a batch reaches this size, it's sent immediately regardless of the batch window
Bypassing
Some alarms might need to be received immediately and cannot wait for the batch email to be sent. In that case, you can set a bypass. There are three types of bypass.