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 |
|
Handling Special Characters in Action Arguments
In some cases, NNMi requires or inserts double quotes or escape characters in arguments that are passed to the Jython file, executable, or shell script using the Command attribute.
Note Shell commands are not permitted in the Command attribute. If you use shell commands, place them in a shell script file and reference that file from the Command attribute.
The following table describes how to handle special characters included as arguments to your Jython files, executables, or shell scripts.
Circumstance | Result |
---|---|
If the following special characters are requested as a single argument to a Jython, executable, shell script, or shell command: , ; & > < (space) | = |
The argument (containing the special character) must be wrapped in double quotes. For example, "Hello;World". |
Request all available CIA name/value pairs for a particular incident $* |
The $* argument returns a parsed string. For this example, the available CIA name/value pairs are:
Example Command
NNMi returns the following string in response to the command:
|
Request specific CIA values as an argument to an action command $<CIA name, position, or OID> |
To request specific CIA values, use the $ followed by the CIA name Example Command
For this example, the CIA name/value pairs are:
NNMi returns the following string in response to the command:
|
If an invalid CIA name, position, or OID is requested as an argument to an action command |
If the trap or event does not contain one or more of the requested CIAs, NNMi passes error messages as arguments. Linux:
Windows: NNMi encloses each CIA value in double quotes.
|
Use $* in your incident action scripts |
Linux: It is recommended that you do not use $* (shell variable substitution) in your incident action scripts. If you do use $* within the shell script, specifying $* expands into the arguments and are rescanned. This means that blanks in arguments will result in multiple arguments. If you want to use shell variable substitution, use the |
Use arguments to Jython methods | Enclose any argument that is not preceded with a "$" (dollar sign) in double quotes. For example, jythonMethod($Severity, "Hello; World").
|
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: