haalert - view and delete VCS alerts using the command line
haalert -display
haalert -list
haalert -delete alert_id -notes "description"
haalert -help
VRTSvcs
The haalert command line utility enables users to view and delete VCS alerts.
-display For each alert, the command displays the following information: - alert ID
- time when alert occurred
- cluster on which alert occurred
- object name for which alert occurred
(cluster name, group name, and so on).
- informative message about alert
-list For each alert, the command displays the following information: - time when alert occurred
- alert ID
-delete alert_id -notes "description" Allows a user to delete a specific alert by specifying the corresponding alert_id. In addition, user must enter a text message within quotes describing the reason for deleting the alert. The users comment is written to the engine log as well as sent to any connected GUI clients. -help Displays the usage text.
Example output of -display:
# haalert -display Alert ID GNOFAILA-C10-app_grp Time Tue 14 Oct 2003 06:04:33 PM PDT Cluster C10 Group app_grp ALERT[GNOFAILA-C10-app_grp] Global group app_grp is unable to fail over within cluster C10 and ClusterFailOverPolicy is set to Manual. Administrative action is required.Example output of -list:
# haalert -list Oct 2003 06:04:33 PM PDT GNOFAILA-C10-app_grp
Copyright (c) 2009 Symantec.
All rights reserved.
VCS 5.1 | HAALERT (1M) |