pre-insert.alarms¶
Alarms pre-insertion¶
type |
object |
||
properties |
|||
|
The id of the template to use for this file |
||
type |
string |
||
|
The variables and their values to be replaced from the template |
||
type |
object |
||
additionalProperties |
|||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
||
type |
array |
||
items |
type |
string |
|
|
If the value is set to true, manual editing of this file should be avoided, as the composer will override the value in the next generation. |
||
type |
boolean |
||
|
The id of the alarm module to attach this pre-insertion rule to |
||
type |
string |
||
|
The priority of the pre-insertion filter (1 is highest). Each pre-insertion is execute from the highest priority to the lowest for the alarms matching the forCondition |
||
type |
integer |
||
minimum |
1 |
||
|
The source of the script containing functions used by “for”, “if.is”, “thenExecute” and “elseExecute” |
||
type |
string |
||
|
The list of operations to execute when ‘if’ is evaluated to true |
||
type |
string |
||
|
The list of operations to execute when ‘if’ is evaluated to false |
||
type |
string |
||
|
The list of the value id used by this pre-insertion rule. The wildcard ‘*’ can be used to match multiple value (For example, ‘root.*.test’ will match ‘root.device.1.test’, ‘root.server.test’). |
||
type |
array |
||
default |
|||
items |
type |
string |
|
|
Notify when a batch of alarms has begun |
||
type |
string |
||
|
Notify when a batch of alarms has ended |
||
type |
string |
||
|
Conditional selection of alarms to apply the pre-insertion rule to |
||
type |
string |
||
|
Conditional selection of the set of operations to apply |
||
additionalProperties |
False |
IfConditionConfiguration¶
type |
object |
|
properties |
||
|
A MongoDB expression predicate for matching alarms to count |
|
type |
string |
|
|
A MongoDB expression predicate to apply on count |
|
type |
string |
|
additionalProperties |
False |