Maintenance Mode allows you to temporarily suppress alert notifications during planned activities such as upgrades, configuration changes, or scheduled maintenance. When enabled, Pulse skips alert evaluations for the specified resources, preventing unnecessary or misleading alerts.
You can disable notifications at the global level using this functionality. This affects all alerts in a cluster. Pulse continues to generate evaluation results based on the groupby field (if configured), but alerts will ignore these results while Maintenance Mode is active.
Enable Maintenance Mode
Follow these steps to enable Maintenance Mode for Alerts:
Locate the Maintenance Configuration File
In each cluster, navigate to the following path:
work/<clusterName>/alerts/maintenance/maintenanceConfig.jsonAdd the Maintenance Configuration
Add the following JSON structure to the maintenanceConfig.json file:
{ "groupingBased": { "host": ["<host name>"], "app": ["llap"] }}Inside the groupingBased object, you can specify multiple keys (strings) with values as arrays of strings. Each key corresponds to a groupby field used in alert evaluations.
Restart the Alert Container
Restart the alert container for the changes to take effect.
Disable Maintenance Mode
To turn off Maintenance Mode:
Navigate to the Maintenance File
Go to:
work/<clusterName>/alerts/maintenance/maintenanceConfig.jsonRemove the Maintenance Configuration
Delete the contents of the file or remove the file entirely.
Restart the Alert Container
Restart the alert container to restore normal alert evaluation and notifications.