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 |
|
Access the Event Web Service
Your entry point to the event web service interface is the Service Document, using the following base URL:
-
Secure environments:
https://<server.example.com>/opr-web/rest/
-
Non-TLS environments:
http://<server.example.com>/opr-web/rest/
where:
<server.example.com>
is the name of the gateway server.
For access to the Event Web Service, you must be a valid user, and need to provide your user name and password as credentials for user authentication. Only authorized users can view events, change events, or run actions.
The Service Document lists the URLs of different OPR Event services. These services are listed in List of OPR Event Services in the Service Document.
In the list of URLs in the Service Document, only two of them are actual links:
-
Events Service:
https://<server.example.com>/opr-web/rest/9.10/event_list
9.10 is the current version of the OMi Event Web Service (not the current OMi version). If the version number is omitted, versions lower than 9.10 of the Event Web Service are addressed.
This shows a list of all events.
-
Event Changes Service:
https://<server.example.com>/opr-web/rest/event_change_list
This shows a list of changes to events.
All the other URLs require a parameter to be specified (for instance, the event ID). In case of annotations, for the event for which you want the annotation, you must specify the annotation ID. In List of OPR Event Services in the Service Document, variables that you must specify for each URL are shown in curly brackets, such as {event}, {annotation}, or {custom_attribute}. An example URL specifying the event with the ID 532d3674-684f-419f-a752-b8681ee01a72
would look like this:
https://<server.example.com>/opr-web/rest/9.10/event_list/532d3674-684f-419f-a752-b8681ee01a72
Note If you use the Event Web Service event_list
without any parameters, the Event Web Service accesses the list from the cached events in the browser. Due to this, the number of events that are shown is limited by the Maximum Event Count setting specified in Administration > Setup and Maintenance > Infrastructure Settings > Applications > Operations Management > User Interface Settings.
If you use the Event Web Service event_list
with any specified parameter, the Event Web Service accesses the list from the database and does not take the Maximum Event Count setting into account.
List of OPR Event Services in the Service Document
OPR Event Service |
URL |
---|---|
Annotation Service |
|
Annotations Service |
|
Automatic Action Service |
|
Custom Attribute Service |
|
Custom Attributes Service |
|
Event Change Service |
|
Event Changes Service |
|
Event Service |
|
Events Service |
|
History Line Service |
|
History Lines Service |
|
Operator Action Service |
|
Symptom Service |
|
Symptoms Service |
|
In general, for most of the OPR Event services, you can carry out the four supported operations (read, create, update and delete). Exceptions to this are:
-
Automatic Action Service and Operator Action Service. For these services you can:
- Get the state of an action by performing a read operation.
- Start an action (if it is not already running) by performing a create operation.
- Stop an action (if it is already in progress) by performing a delete operation.
-
Services where only read operations are possible:
- Event Change Service
- Event Changes Service
- History Line Service
- History Lines Service
At first glance, the two services Event Change and Event Changes return very similar results to the services History Line and History Lines. However, the former services list all event changes, and are not specific to any particular events. The latter services are event-specific, and list changes to events relating to particular events. For more details about History Lines, see History lines.
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: