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 - Worst Sibling Status Rule
The following rule finds the worst status from sibling KPIs, based on active statuses only. Active statuses are Critical, Major, Minor, Warning, and OK.
public void calculateKPI(CI ci, KPI kpi) { // Get a list of all the KPIs for the CI. List<KPI> ciKpiList = ci.getAllKPIs(); /** * Create a variable to set the status of the calculated KPI, * only if an active status is found. */ boolean isActiveStatusFound = false; // Set the current worst status to OK; if a worse status is found this will be updated. Status worstStatus = Status.OK; // Go over the list of the CI's KPIs. ciKpiList.each {KPI ciKPI -> /** * Check that the CI's KPI is not the calculated KPI. * This is needed because getAllKPIs method returns all the KPIs for the CI. */ if (ciKPI != kpi) { /** * The ciKPI represents a sibling KPI of the calculated KPI. * Get the sibling KPI's status. */ Status siblingKpiStatus = ciKPI.status; // Update worstStatus if necessary. if (siblingKpiStatus.isActive()) { isActiveStatusFound = true; if (siblingKpiStatus.isWorse(worstStatus)) { worstStatus = siblingKpiStatus; } } } } // Check if an active status was found in the sibling KPI. if (isActiveStatusFound) { // Set the calculated KPI's status. kpi.setStatus(worstStatus); } }
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: