HP P9000 Command View Advanced Edition Suite Software 7.3.1-00 CLI Reference Guide

*****: The value is encoded by the CLI.
Command execution result
RESPONSE
(Command completed; empty list returned)
GetAlerts
GetAlerts returns the alert messages previously generated by the Device Manager server. The
returned alerts can be limited by specifying a time and/or a number of messages.
When no condition to limit the number of alert messages obtained is specified, information about all
alerts is output to the execution results.
Parameters
Table 101 GetAlerts command parameters
DescriptionStatusParameter name
Maximum number of messages to return
If you omit this parameter, the number of obtainable alerts is
unlimited.
Optional
countfilter
Request only messages newer than the date and time.
Required format is YYYY/MM/DD HH:MM:SS.
If you omit this parameter, the number of obtainable alerts is
unlimited.
Optional
timefilter
Parameter values to obtain in advance
None.
Command execution example
hdvmcli GetAlerts -o D:\logs\GetAlerts.log
"countfilter=2" "timefilter=2002/04/01 00:00:00"
Command execution result
RESPONSE
An instance of Alerts
Contains 2Alert instances:
An instance of Alert
number=2
type=Server
source=*****
CLI Reference Guide 279