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 clients that are registered for this alert. -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_grpExample output of -delete:
# haalert -delete GNOFAILA-C10-app_grp -notes "Administrative action taken" # tail /var/VRTSvcs/log/engine_A.log 2003/10/14 18:04:33 VCS ERROR V-16-5-51074 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. 2003/10/14 18:05:53 VCS NOTICE V-16-5-51026 ALERT[GNOFAILA-C10-app_grp] was deleted by user root on local cluster. Refer to the next log message for the reason 2011/10/14 18:05:53 VCS NOTICE V-16-5-51022 Users Reason: Administrative action taken
VCS 8.0 | HAALERT(1M) |