HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

DeleteAlerts
DeleteAlerts deletes one or more alerts present on the Device Manager server. You can either
delete a specific alert by specifying the alert number, or delete all alerts originating from a specific
source by specifying the source.
Parameters
Table 92 DeleteAlerts command parameters
DescriptionStatusParameter name
The number identifying the alert to delete
Optional
#
alertnum
Identifies a source of alerts; all alerts from this source are deleted.
Optional
#
source
#
Specify either alertnum or source. Do not specify both parameters at the same time. If they
are specified at the same time, an error will occur.
Parameter values to obtain in advance
alertnum and source: Obtain these values from the execution result of the GetAlerts command.
In the execution result of this command, the number and source values appear under An instance
of Alerts. Use these number and source values to specify the alertnum and source parameters
respectively.
Command execution example 1
hdvmcli DeleteAlerts -o "D:\logs\DeleteAlerts.log" "alertnum=6"
Command execution result 1
RESPONSE
(Command completed; no data returned)
Command execution example 2
hdvmcli DeleteAlerts -o "D:\logs\DeleteAlerts.log" "source=*****"
*****: The value is encoded by the CLI.
CLI Reference Guide 245