HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
Parameters
Table 126 GetAlerts command parameters
DescriptionStatusParameter name
Source of the alerts to be obtained
Specify the object ID of the storage system.
Optional
sourcefilter
#
Obtain only alerts newer than the specified date and time.
Specify the date and time in the format YYYY/MM/DD HH:MM:SS.
Optional
timefilter
#
Maximum number of alerts to be obtainedOptional
countfilter
#
#
If you specify multiple parameters, priority for filtering alerts is given first to sourcefilter, then
to timefilter, and then to countfilter.
Parameter values to obtain in advance
sourcefilter
Obtain the parameter value from the execution result of the GetStorageArray command. In
the execution result, use the objectID value to specify the sourcefilter parameter.
Command execution example
hdvmcli GetAlerts -o D:\logs\GetAlerts.log
"sourcefilter=*****"
"timefilter=2002/04/01 00:00:00" "countfilter=2"
*****: The values are encoded by the CLI.
Command execution result
RESPONSE
An instance of Alerts
Contains 2Alert instances:
An instance of Alert
number=2
type=Server
source=*****
severity=3
component=DKU drive
description=Serious error detected on DKU drive.
actionToTake=Contact Customer Support.
data=Component has stopped.
timeOfAlert=2003/01/06 20:13:56
An instance of Alert
number=1
type=Server
source=*****
Command reference376