5.8.5

Table Of Contents
Configure Alerts for vCenter Server Events
You can configure vCenter Server events to generate alerts.
Procedure
1 Open the eventlist.txt file in the vcenter-ops\user\plugins\inbound\vmwarevi_adapter3\conf
directory.
The eventlist.txt file defines the list of events that the vCenter adapter collects from vCenter Server.
2 Type the event ID of the event to generate an alert and set it to alert.
For example: vim.event.AlarmActionTriggeredEvent = alert
3 Save your changes and close the eventlist.txt file.
When the vCenter adapter collects an event that is marked as an alert, it sends a notification message to the
vCenter Operations Manager server and the Analytics service generates an alert.
Retrieve Keys from the vCenter Operations Manager Database
You can obtain keys and identifiers for data fields by accessing the vCenter Operations Manager database
and running SQL queries.
NOTE If you are using version 1.0.1 or later, you can also use the HTTP Post Adapter interface to retrieve
keys and identifiers for data fields.
Procedure
1 In a Web browser, type http://ip_address/dbAccessQuery.action where ip_address is the IP address
of the vCenter Operations Manager server.
2 Type your SQL query in the top right window.
For example:
select a.ADAPTER_KIND_ID, a.ADAPTER_KEY, b.RESKND_ID, b.RESKND_KEY, e.ATTRKEY_ID,
e.ATTR_KEY from AdapterKind a
inner join ResourceKind b on (b.ADAPTER_KIND_ID = a.ADAPTER_KIND_ID)
inner join AliveResource c on (c.RESKND_ID = b.RESKND_ID)
inner join ResourceAttributeKey d on (d.RESOURCE_ID = c.RESOURCE_ID)
inner join AttributeKey e on (e.ATTRKEY_ID = d.ATTRKEY_ID)
where a.ADAPTER_KEY = 'something' or b.RESKND_KEY = 'something'
3 Click the Execute SQL icon.
The results appear in the lower right window.
Chapter 7 Configuring Alert Notifications
VMware, Inc. 103