Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.

Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |

Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Integrate external event processes
Integrate external event processes using Groovy scripts
Groovy scripting is supported. You can use a Groovy script adapter to forward events and event changes to target servers. This section provides information about the main integration points you must consider when using and developing Groovy scripts for integrations with external event processing applications.
For more information about developing and deploying Groovy scripts, see Groovy scripts.
You can also find answers to frequently asked questions in the section Integrate external event processes: FAQs.
Learn more

A sample Groovy script is provided out-of-the-box for use as a template. It is called sample:LogfileAdapter
and can be found at:
Administration > Setup and Maintenance > Connected Servers
Alternatively, click Connected Servers.
Click Manage Scripts.
You can configure a target connected server in the Connected Servers manager by using the Logfile Adapter as the Groovy script adapter. You can use any hostname and port number for the configuration when using the LogfileAdapter, but note that you cannot use the DNS name of the Operations Manager i server. You must use another name, for example, localhost
. Events and event changes forwarded to this adapter are logged to this log file:
<OMi_HOME>/log/opr/integration/LogfileAdapter.log
Developers and integrators can use this adapter for testing, and as a template to create other adapters.
A template groovy script for use as a starting point when developing new groovy scripts for external event integration on OMi is available from the following location:
<OMi_HOME>/opr/examples/external-event-adapter
There are clearly marked sections with "TODO" and steps to take when developing a new integration.

Synchronizing events and event changes between an OMi instance and a third-party event process depends on OMi forwarding events to the external event processing application, with these events and event changes being sent back from the external application.
To configure a target connected server by using the Logfile Adapter as a Groovy script adapter, perform the following steps:
-
Navigate to the Connected Servers manager:
Administration > Setup and Maintenance > Connected Servers
Alternatively, click Connected Servers.
-
In the central Connected Servers pane, click
New and select External Event Processing. Alternatively, you can click
New in the External Event Processing area in the right pane.
The Create External Event Processing Server panel opens.
-
In the General section, enter a display label (a name for the target connected server), an identifier (a unique internal name if you want to replace the automatically generated one), and, optionally, a description of the connection being specified.
Note The Identifier field is filled in automatically. For example, if you enter
Logger Example
as the display label for the target server,Logger_Example
is automatically inserted in the Identifier field.Make a note of the name of the new target server (in this example,
Logger_Example
). You need to provide it later as the user name when configuring the server to communicate with the server hosting OMi. -
In the Server Properties section, complete the following information:
-
Enter the fully qualified domain name of the target server (for example,
localhost
). - From the drop-down list, select the CI type of the CI that will represent the external event processing server in the RTSM.
-
Optional. Customize the way events and change notifications are delivered to this server by using Advanced Delivery Options:
-
Serial: Events and change notifications are delivered serially in the order in which they were received.
-
Serial per source: Default. Each originating server is provided with a dedicated outgoing request delivery path. For each individual outgoing request delivery path, events and change notifications are delivered serially in the order in which they were received. This can increase the throughput for delivery of events and change notifications when many events are received from multiple originating servers, while maintaining the incoming order.
-
Parallel: The configured number of outgoing request delivery paths is used when forwarding events and change notifications. This can further increase the throughput for delivery of events and change notifications. However, because the source of the event is not considered, maintenance of the incoming order cannot be guaranteed.
-
-
-
In the Integration Type section, complete the following information:
-
Select an integration type used to establish the connection. In this example, select the Call script adapter integration type, and then, from the Script name drop-down list, select sample:LogfileAdapter.
-
Specify a maximum transaction time value (the time limit for the execution of the script). The default value is 60 seconds.
-
-
In the Outgoing Connection section, provide the following information:
- Usually you must enter the user credentials (user name and password) and the port number required to access the external server, as well as to choose the HTTP setting. However, in this example, you do not need to provide this information and you can leave these fields blank.
-
Select the Enable synchronize and transfer control check box.
When the Synchronize and Transfer Control flag is set, an OMi operator is able to transfer ownership of the event to the target connected server. If the flag is not set, the Synchronize and Transfer Control option does not appear in the list of forwarding types when configuring forwarding rules.
-
In the Incoming Connection section, enter a password that the external application requires to connect to the server hosting OMi (for example,
HPEpasswd1_
).Note This user and password are only valid for event synchronization web service access and cannot be used to log in to OMi.
-
In the Event Drilldown section, complete the following information:
-
Enter the fully qualified domain name of the host system of the external event processing server (for example,
test.host.com
) and the port number (80
) used for drilldown.Note The default port value is automatically inserted and can be restored by clicking Set default port.
-
Optional. Select the Use secure HTTP check box for secure communication.
-
-
In the Test connection section, click
Run Test to check that the specified connection attributes are correct. If an error message is displayed, correct the connection information, and retest the connection.
-
Make sure that the Activate after save check box is selected if you want to enable the server connection immediately.
- Click Create. The target Logger Example server appears in the list of connected servers.

The next step is to configure an event forwarding rule that determines which events are forwarded to the Logger Example
server.
To configure a forwarding rule, do the following:
-
Navigate to the Event Forwarding manager:
Administration > Event Processing > Automation > Event Forwarding
Alternatively, click Event Forwarding.
-
Click New
to open the Create New Forwarding Rule dialog box.
-
In the Display Name field, enter a name for the forwarding rule, in this example
Forward Major (Sync and Transfer Control)
.Optional. Enter a description for the forwarding rule you are creating.
Make sure the Active check box is selected. A rule must be active in order for its status to be available in the target connected server.
-
Click the browse button next to the Event Filter field. The Select an Event Filter dialog opens.
-
In the Event Filters dialog, click
New to open the Create Filter dialog.
-
In the Name field, enter a name for the new filter, in this example,
FilterMajor
. Click Add condition and then select Severity from the list of conditions. Select all severity levels except Major. Save your filter. -
You should see your new filter in the Event Filter dialog. Select it and click
Close.
-
Under Target Servers, select the connected target server you configured in the section Sample Groovy Script: Logfile Adapter. In this example, this is
Logger Example
.Click the Add (
) button next to the target servers selection field. You can now see the connected server’s details.
Click OK.
The new forwarding rule is now available.
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-asm@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: