Purpose
Clears all open alerts by severity or alert number with a common reason.
Syntax
ALERT CLEAR ALL [CRITICAL 'reason'] | [LESS THAN alertNumber] | [WARNING 'reason'];
Parameters
- CRITICAL 'reason'
- Enables clearing all critical alerts. The reason for clearing alerts specified as a single quoted string with a maximum length of 1024 characters.
- LESS THAN alertNumber
- Enables clearing all open alerts with a number lower than the provided alert ID.
- WARNING 'reason'
- Enables clearing all open Warning severity alerts.
Examples
Demonstrates how to clear all open alerts with Warning severity level.
unityadmin> ALERT CLEAR ALL WARNING 'Open warning alerts have been cleared';
Bulk clear of all alert warnings in progress
Demonstrates how to clear all open alerts with Critical severity level.
unityadmin> ALERT CLEAR ALL CRITICAL 'Open critical alerts have been cleared';
Bulk clear of all critical alerts in progress
Demonstrates how to clear all open alerts with an alert ID lower than 100.
unityadmin> ALERT CLEAR ALL LESS THAN 100 'Cleared all open alerts with an alert ID lower than 100';
Performing bulk clear of alerts with ID less than 100