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 |
|
Custom Action scripts
Custom actions can be executed for events that are selected in the OMi Event Browser.
Custom actions are launched manually by an operator for a particular event. To launch a custom action:
-
In OMi, select a perspective containing Event Browser and Actions windows, for example the default Event Perspective or Health Perspective.
-
Select the event you want to apply the action to. All actions available for the selected event are listed in the Actions window.
-
Click the action to be executed.
-
Scripts are executed in the following working directory on the OMi gateway server:
hpbsm_opr-scripting-host
-
Logging information is written to the following log file:
<OMi_HOME>/log/opr-scripting-host/opr-scripting-host.log
To configure a Custom Action script and make it available from the Event Browser:
-
In OMi, navigate to Custom Actions:
Administration > Operations Console > Custom Actions
Alternatively, click Custom Actions.
The Custom Actions screen looks similar to the figure below.
The screen contains two panes:
-
Custom Action Scripts
This panes lists the configured scripts. Active scripts are shown in black, non-active scripts in gray.
-
Details
This pane shows the properties of the actual script, including the script code .
-
-
You cannot edit the code in the script window directly, but you must use the toolbar in the Custom Action Scripts pane to access the script, as follows:
-
To edit an existing script, click Edit Item . The script wizard is shown. Click the Script tab to access the script for editing.
-
To configure a new script, click New Item . The script wizard is shown, allowing you to enter the script and some information about it, such as a name and description. The wizard provides a skeleton for the script class, which you can use as a starting point.
-
To activate a script, click Activate Item .
-
import java.util.List; import com.hp.opr.api.scripting.Event; class IsunoretAction { def process(event) // Process the event passed // by the event browser. { // Example: Service ID of the event is // manually set tpo a predefined value." event.setOmServiceId("Isunoret"); } }
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: