6.3

Table Of Contents
"resourceKind":"sample-object-type",
"alertName":"Invalid IP Address for connected Leaf Switch",
"attributeKeyID":5325,
"Efficiency":1.0,
"adapterKind":"sample-adapter-type",
"Health":1.0,
"type":"ALERT_TYPE_APPLICATION_PROBLEM",
"resourceName":"sample-object-name",
"updateDate":1369757346267,
"info":"sample-info"
}
If you select application/xml, the body of the POST or PUT calls that are sent have the following format:
<alert>
<startDate>1369757346267</startDate>
<criticality>ALERT_CRITICALITY_LEVEL_WARNING</criticality>
<Risk>4.0</Risk>
<resourceId>sample-object-uuid</resourceId>
<alertId>sample-alert-uuid</alertId>
<status>ACTIVE</status>
<subType>ALERT_SUBTYPE_AVAILABILITY_PROBLEM</subType>
<cancelDate>1369757346267</cancelDate>
<resourceKind>sample-object-type</resourceKind>
<alertName>Invalid IP Address for connected Leaf Switch</alertName>
<attributeKeyId>5325</attributeKeyId>
<Efficiency>1.0</Efficiency>
<adapterKind>sample-adapter-type</adapterKind>
<Health>1.0</Health>
<type>ALERT_TYPE_APPLICATION_PROBLEM</type>
<resourceName>sample-object-name</resourceName>
<updateDate>1369757346267</updateDate>
<info>sample-info</info>
</alert>
N If the alert is triggered by a non-metric violation, the attributeKeyID is omied from the REST
output and is not sent.
If the request is processed as POST, for either JSON or XML, the Web service returns an HTTP status code of
201, which indicates the alert was successfully created at the target. If the request is processed as PUT, the
HTTP status code of 202, which indicates the alert was successfully accepted at the target.
Prerequisites
Ensure that you know how and where the alerts sent using the REST plug-in are consumed and processed
in your environment, and that you have the appropriate connection information available.
Procedure
1 In the left pane of vRealize Operations Manager, click the Administration icon.
2 Click Outbound  and click the plus sign to add a plug-in.
3 From the Plug-In Type drop-down menu, select Rest  Plugin.
The dialog box expands to include your REST seings.
4 Enter an Instance Name.
This is the name that identies this instance that you select when you later congure notication rules.
Chapter 3 Customizing How vRealize Operations Manager Monitors Your Environment
VMware, Inc. 65