Template rules evaluation |
|
Template rules evaluation is handled by ERA Agent, not ERA Server (only the result is sent to ERA Server). The evaluation process is happens according to the rules that are configures in a Template. The following is an explanation of the evaluation process with a few examples. Status is a cluster of various information. Some sources provide more than one dimensional status per machine (for example, Operating System, RAM size, etc.), others provide multidimensional status information (for example, IP Address, Installed Application, etc). Below is a visual representation of the status of a client:
Status is made of information groups. One group of data always provides coherent information organized into rows. The number of rows per group may vary. Conditions are evaluated per group and per row - if there are more conditions regarding the columns from one group, only the values on the same row are considered. Example 1:For this example consider the following condition: Network Adapters.IP Address = 10.1.1.11 AND Network Adapters.MAC Address = 4A-64-3F-10-FC-75 This rule matches no computer, as there is no such row where both conditions hold true.
Example 2:For this example consider the following condition: Network Adapters.IP Address = 192.168.1.2 AND Network Adapters.MAC Address = 4A-64-3F-10-FC-75 This time, both conditions matched cells on the same row and therefore, the rule as a whole is evaluated to TRUE. A computer is selected.
Example 3:For conditions with the OR operator (at least one condition must be TRUE), such as: Network Adapters.IP Address = 10.1.1.11 OR Network Adapters.MAC Address = 4A-64-3F-10-FC-75 The rule is TRUE for two rows, as only either of the conditions must be satisfied. A computer is selected.
|