To resolve the issue, delete alerts directly from the database, or clear the tables.
- Log into the primary node as root via SSH or Console, pressing ALT+F1 in a Console to log in.
- Launch the psql utility and connect to the vPostgres database by running this command::
su - postgres -c "/opt/vmware/vpostgres/current/bin/psql -d vcopsdb -p 5432"
Note: The prompt changes to vcopsdb=> when the command is completed.
- Choose option 1 or 2, depending on what you would like to do:
Note: The alarms table correlates to Symptoms, and the alerts table correlates to Alerts in the Aria Operations UI.
Option 1: Clear all alerts and alarms
truncate table alert cascade;
truncate table alarm cascade;
Note: The above commands clear all of the symptoms and alerts present on the system. After a collection cycle or two, the alerts with present and active symptoms will be re-triggered. If alerts are emailed out via notifications or sent to a ticketing system, it is recommended to disabled those configurations temporarily until the alerts settle.
Option 2: Clear alerts and alarms related to a specific resource
delete from alert where resource_id = resource_id;
delete from alarm where resource_id = resource_id;
Note: The resource_id value can be obtained from the Administration > Inventory page, click on the Show Columns icon in the bottom and select Internal ID. Filter for the object and use the Internal ID as the resource_id value.
- Type \q to exit the psql utility.
- Repeat steps 1 to 4 on all other analytic (primary, replica, and data) nodes in the cluster.
- Log into the Aria Operations Admin UI as the local admin user.
- Click Take Offline under Cluster Status.
Note: Wait for Cluster Status to show as Offline.
- Click Bring Online under Cluster Status.
Note: Wait for Cluster Status to show as Online.