Lists the events for an object.
Syntax
getEvents
[
[
objType=
]
[
value
objId=
]
] [
value
severity=
{
UNKNOWN
|
CRITICAL
|
WARNING
|
INFORMATIONAL
}
] [
acknowledged=
{
Yes
|
No
}
] [
startTime=
] [
value
endTime=
] [
value
amount=
]value
Description
This command lists the event for an object.
Options
The following table shows the available options for this command. To acknowledge an event, use the ackEvent command.
Option | Description |
---|---|
|
The object type for which to list the events. The
This is an optional parameter and must be used with the
|
| The name or ID of the object.
This is an optional parameter and must be used with the
|
| The severity of the event to list. This is an optional parameter. |
|
Whether to include acknowledged events in the listing. The
default is This is an optional parameter. |
|
The start date and time from which to list events. The
format to use is This is an optional parameter. |
|
The end date and time from which to list events. The
format to use is This is an optional parameter. |
| The maximum number of events to list. This is an optional parameter. |
Examples
Example A.133 Listing Oracle VM Server events using all options
OVM> getEvents objType=Server objId=00:e0:81:4d:40:c6:00:e0:81:4d:40:c7:ff:ff:ff:ff \ severity=UNKNOWN acknowledged=Yes startTime="05-20-2013 00:00" \ endTime="05-21-2013 23:59" amount=100
Example A.134 Listing all unacknowledged critical error events for a virtual machine
OVM> getEvents objType=Vm objId=0004fb00001400003f45fc117b56c135 severity=CRITICAL \ acknowledged=No