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 Jython Methods Provided by NNMi
NNMi provides a set of example Jython methods you can use when configuring actions for incidents. These example files reside in the following directory (see Manage environment variables):
Windows:
%NnmInstallDir%\newconfig\HPOvNmsEvent\actions
Linux:
$NnmInstallDir/newconfig/HPOvNmsEvent/actions
If you want to use one or more of these example Jython methods, you must first copy the example files to the following directory:
Windows:
%NnmDataDir%\shared\nnm\actions
<drive> is the drive on which NNMi is installed.
Linux:
$NnmDataDir/shared/nnm/actions
See Lifecycle Transition Action Form for more information about creating incident actions.
Note The argument values, such as arg1, and arg2, can be any valid parameter as described in Valid Parameters for Configuring Incident Actions (Management Events).
File Name | Method | Description |
---|---|---|
testPrint.py | testPrint_Registered() | Displays the incident Lifecycle State specified by the method name. |
testPrint.py | testPrint_InProgress() | Displays the incident Lifecycle State specified by the method name. |
testPrint.py | testPrint_Completed() | Displays the incident Lifecycle State specified by the method name. |
testPrint.py | testPrint_Closed() | Displays the incident Lifecycle State specified by the method name. |
testPrintArgs.py | testPrintArgs(arg1, arg2, ...) | Displays the specified argument values. |
testPrintToFile.py | testPrintToFile(arg1) |
Prints the specified argument values to the following file: Windows:
<drive> is the drive on which NNMi is installed. Linux:
|
The output generated from these methods is written to the event action log. You can find the event action log in the following directory:
Windows:
%NnmDataDir%\log\nnm
Linux:
$NnmDataDir/log/nnm/public
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 network-management-doc-feedback@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: