Skip to content

Alert Definitions

sbengo edited this page Mar 14, 2019 · 1 revision

Alert definitions

Components

TODO

Best Practices

TODO

Expressions

WHERE Filter

On Where filters, the following format are accepted:

Type Allowed Operator Notes Example
Regex True =~
  • The tag key must be set with double quotes
  • Glob patterns are not allowed
"portName" =~ /eth.*/
Single True ==
  • The tag key must be set with double quotes
  • Glob patterns are not allowed
"portName" == 'eth0/0'
Glob False -- -- --

Custom Expressions

When the user sets Custom Expression = true the expression must:

Description Example
All fields configured on the custom expression must be the same type. Casts can be used float("free")/float("total") * 100.00
Clone this wiki locally