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 |
|
- Service Health
- Service Health Rules API
- API Group and Sibling Rule
- API Sample Rule
- API Duration-Based Sample Rule
- Create rules with the Rules API
- Define an API rule in the CI Customizations page
- Create a text file-based API rule
- Define an API rule in the rule repository
- Work with tooltip entries
- Write to log files from the Rules API code
- Include a CI property in Rules API calculations
- Examples - API Sample Rule
- Examples - API Group and Sibling Rule
- Service Health External APIs
- Service Health Rules API
Service Health Rules API
Note In OMi versions 9.00 and later, the rules that calculate indicator statuses and values based on samples (API Sample Rule and API Duration-Based Sample Rule) are used to calculate metric-based health indicators (HIs).
Throughout the Rules API documentation, you will see references to various methods used to calculate KPIs. In OMi versions 9.00 and later, when calculating sample-based values, these methods are used to calculate metric-based HIs.
This
HPE recommends to create rules with the Rules API. The Rules API enables you to create rules using the Groovy scripting language with Groovy runtime environment. Users of the Rules API should be familiar with Groovy and Java, and with OMi administration and applications. For more information about developing and deploying Groovy scripts, see Groovy scripts.
The Rules API classes are documented in Javadoc format in the OMi Rules API Reference. These files are located in the following folder:
<OMi_HOME_GW>/AppServer/webapps/site.war/amdocs/eng/API_docs/Rules_API/index.html
These are the types of Service Health API rules:
-
Group and Sibling Rule. This rule calculates KPIs based on data received from other KPIs, rather than from original sample data. For details, see API Group and Sibling Rule.
-
Sample Rule. This rule calculates KPIs based on original data taken from sample fields; the number of samples included in the calculation is limited by a maximum number of samples rule parameter. For details, see API Sample Rule.
-
Duration-Based Sample Rule. This rule calculates KPIs based on original data taken from sample fields; a duration parameter defines which samples are included in the calculation. For details, see API Duration-Based Sample Rule.
Rules can be created using the Rules API in these ways:
-
Using the CI Customizations page to create a rule for a specific KPI.
-
Using a text file to create a new rule for multiple KPIs.
-
Using a clone of an API rule in the Rule Repository to create a new rule.
These ways are described in Create rules with the Rules API.
To display KPI information in tooltips when working with the Rules API, see Work with tooltip entries.
You can write to log files from the Rules API code, as described in Write to log files from the Rules API code.
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: