HP Operations Manager for Windows

Numeric range operators


HPOM provides six numeric range operators that can be used in pattern matching. The operators are used in this way:
Operator name Syntax                                                          Example/Explanation
Less than <[pattern] -lt n > <[<#>] -lt 5>
matches every number less than 5
Less than or equal to <[pattern] -le n > <[<#>] -le 5>
matches 5 and every number less than 5
Greater than <[pattern] -gt n > <[<#>] -gt 5>
matches every number greater than 5
Greater than or equal to <[pattern] -ge n > <[<#>] -ge 5>
matches 5 and every number greater than 5
Equal to <[pattern] -eq n > <[<#>] -eq 5>
matches 5 or 5.0
Not equal to <[pattern] -ne n > <[<#>] -ne 5>
matches every number but 5 and 5.0

 

The operators can also be combined to produce matches according to ranges of numbers:

Matches numbers that belong to the interval, excluding the limits < n -lt [pattern] -lt n > <5 -lt [<#>] -lt 10>
matches every number between 5 and 10 ( but not 5 or 10)
Matches numbers that belong to the interval, including the limits < n -le [pattern] -le n > <5 -le [<#>] -le 10>
matches every number between 5 and 10 (including 5 and 10)
Matches numbers that do not belong to the interval, excluding the limits < n -gt [pattern] -gt n > <10 -gt [<#>] -gt 5>
matches every number between 5 and 10 ( but not 5 or 10)
Matches numbers that do not belong to the interval, including the limits < n -ge [pattern] -ge n > <10 -ge [<#>] -ge 5>
matches every number between 5 and 10 (including 5 and 10)

Any time you are working with message text pattern-matching, you can use the left and right mouse buttons to insert expression symbols, as follows:

  1. Mark the text you want to replace with an expression with the left mouse button.
  2. Press the right mouse button for a list of replacement symbol choices.
  3. Select the symbol from the list.
Note that these expressions do nothing unless you replace pattern with a match pattern and n with a number to compare against the value that the match pattern returns.

Related Topics:

 

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.