The following section lists all the supported operators in OpsRamp monitoring that used to configure the warning and critical thresholds of resources. To know about how to add these thresholds on a resource, refer the View Monitoring Configuration page.
The list of operators are:
Operator | Type | Description | Example |
---|---|---|---|
== | Integer | Comparison | Warning/Critical Threshold == 100 |
>= | Integer | Greater than or equal | Warning/Critical Threshold >= 100 |
> | Integer | Greater than | Warning/Critical Threshold > 100 |
<= | Integer | Less than or equal | Warning/Critical Threshold <= 100 |
< | Integer | Less than | Warning/Critical Threshold < 100 |
!= | Integer | Not equal | Warning/Critical Threshold != 100 |
In Range | Two Integers (separated by comma) | In range of two integers (minimum and maximum) | Warning/Critical Threshold In Range 100, 200 |
Out of Range | Two Integers (separated by comma) | Out of range of two integers (minimum and maximum) | Warning/Critical Threshold Out of Range 100, 200 |
Equals | String | Comparison | Warning/Critical Threshold Equals high |
Not Equals | String | Comparison | Warning/Critical Threshold Not Equals high |
Equals Ignore Case | String | String comparison (regardless of the case) | Warning/Critical Threshold Equals Ignore Case high, HIGH |
Not Equals Ignore Case | String | String comparison (regardless of the case) | Warning/Critical Threshold Not Equals Ignore Case high, HIGH |
Contains | String | Contains a substring | Warning/Critical Threshold Contains high |
Not Contains | String | Does not contain a substring | Warning/Critical Threshold Not contains high |
Regex no match | String | Regular Expression No Match | Warning/Critical Threshold Regex no match ([2468])|([1-9][0-9]*[02468]) |
Regex match | String | Regular Expression Match | Warning/Critical Threshold Regex match \"*modulefailed\"* |
In string list | String | String exists as an exact match within a list of strings | Warning/Critical Threshold In string list critical,non-critical |
Not in string list | String | String does not exist as an exact match within a list of strings | Warning/Critical Threshold Not in string list critical,non-critical |
In List | List of Integers (separated by comma) | In list of integers | Warning/Critical Threshold In List 100, 102,103 |
Not In List | List of Integers (separated by comma) | Not in list of integers | Warning/Critical Threshold Not In List 100, 102,103 |
Ends With | Integer or String | Checks if a given string terminates with a specific suffix | Warning/Critical Threshold ends with 100 |
Starts With | Integer or String | Checks if a given string starts with a specific suffix | Warning/Critical Threshold starts with 100 |
None | None |
Static Metric conversion operator
The Static Metric Conversion Operator enables you to perform arithmetic operations on metric values. These operators allow you to modify the raw metric data by adding, subtracting, multiplying, or dividing it by a static numerical value.
Operator | Type | Description |
---|---|---|
+ | Integer | Add |
- | Integer | Substract |
* | Integer | Multiply |
/ | Integer | Divide |
None | None |