almRuleConfig

Use the following XML structure for almRuleConfig.

<almRuleConfig>
    <Rules>
        <FireRule name="fireRule1">
            <Variable name="operator" value="&gt;"/>
            <Variable name="thresholdvalue" value="1"/>
            <Variable name="timeUnit" value="seconds"/>
            <Variable name="timeout" value="10"/>
            <Variable name="type" value="double"/>
        </FireRule>
        <ResetRule name="resetRule1">
            <Variable name="type" value="double"/>
            <Variable name="thresholdvalue" value="1"/>
            <Variable name="operator" value="&lt;="/>
            <Variable name="timeUnit" value="seconds"/>
            <Variable name="timeout" value="10"/>
        </ResetRule>
    </Rules>
</almRuleConfig>

By default, all alarms reset automatically. You can disable automatic reset by passing the enabled = false attribute for ResetRule element; for example, <ResetRule enabled = "false">.