HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)

DeleteAlerts
The DeleteAlerts command deletes alerts that are managed by 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 124 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 occurs.
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 respect-
ively.
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 373