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 |
|
Example - Using Groovy Closure
The following rule sets the calculated KPI's status to Critical, if at least one Availability KPI with Major status exists for the calculated CI's child CIs.
This rule illustrates Groovy Closure. Refer to http://groovy.codehaus.org/Closures for more information.
public void calculateKPI(CI ci, KPI kpi) {
/**
* Use Groovy Closure with the CI class getChildrenKPIs method,
* to get List of KPIs from the CI`s child CIs, where
* 1. KPI type is Availability
* 2. Status is MAJOR
Closure description:
{ KPI childKPI ->
childKPI.type == KpiType.Availability.getID("DASHBOARD") && childKPI.status == Status.MAJOR
}
The Closure defines one parameter named childKPI of type KPI.
Each KPI from the CI`s child CIs will be passed to the Closure by the getChildrenKPIs method.
The Closure body returns a boolean value based on the logical expression result.
Each KPI that the Closure body will return true for, will be part of the returned List
The expression KpiType.Availability.getID("DASHBOARD") returns an int representing the Availability KPI ID from the Service Health KPI Repository.
*/
List<KPI> kpiList = ci.getChildrenKPIs {KPI childKPI -> childKPI.type == KpiType.Availability.getID("DASHBOARD") && childKPI.status == Status.MAJOR } // Check if such a KPI exists. if (kpiList.isEmpty()) { // No such KPI exists. // Write to a log file at debug level. logger.debug "Closure Rule: no Availability KPI with MAJOR status exist" } else { // At least one Availability KPI with MAJOR status exists. logger.debug("Closure Rule: At least one Availability KPI with MAJOR status exist") // Set calculated KPI status to CRITICAL. kpi.status = Status.CRITICAL; } }
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: