Using the eps-policy condition command, you can configure conditions for a host to pass host check.
| Parameter | Description | Value |
|---|---|---|
| policy-name | Specifies the name of the host check policy. | The value is a string of 1 to 63 case-sensitive characters. |
| all | Indicates that a host passes the policy check only if the host passes all the rules in the policy check. | - |
| any | Indicates that a host passes the policy check if the host passes any of the rules in the policy check. | - |
| condition-expression | Specifies the expression of the customized combination of rules. | The value is a string of 1 to 160 case-sensitive characters, and supports operators such as the vertical bar (|), ampersand (&), left parenthesis ((), and right parenthesis ()). For example, rule1&(rule2|rule3) indicates that the host can pass the policy checks only when passing rule1, and rule2 or rule3 as well. |