Rule dialog

Use the Rule dialog to add a rule for the selected group, device type, or device. (See The use of rules in the Questra IDM Application Suite.)

Fields

Rule Name

Type the name of the rule (up to 50 characters). This name must be unique.

Rule Type

Select the type of rule (Monitoring, Usage Meter, or Fault).

Device Type

When setting up a rule for a group, select a device type to which the rule will be applied.

Procedure

(Monitoring/Fault rule only.) Select the stored procedure (script) that will be executed. (For descriptions of stored procedures, see below. There may also be custom stored procedures created by the system integrator at initial system setup.)

Parameter

(Monitoring/Usage Meter rule only.) Select the specific property that will be evaluated by the stored procedure.

<parameters>

If the procedure you selected requires input parameters, input fields for those parameters appear. For each parameter, type its value (up to 255 characters).

Alarm name

Select the type of alarm condition that will be raised if the stored procedure fails or returns a value that is out of bounds. (For descriptions of default alarm conditions, see Alerts and Alarms - An Overview.)

Trigger Type

Select the appropriate trigger type that will cause the rule to be run. If you select Schedule Based, be sure that, after saving the rule, you create a schedule for it.

NOTE: Once you have saved the rule, you cannot later edit it and change the rule's trigger type.

Stored procedures

Monitoring

System Monitor Procedure Greater Than Maximum

Simple comparison of a property value against a maximum threshold.

A2B_SYSMON_GREATERTHANMAX

System Monitor Procedure Less Than Minimum

Simple comparison of a property value against a minimum threshold.

A2B_SYSMON_LESSTHANMIN

System Monitor Procedure Out Of Range

Simple comparison of a property value against maximum and minimum thresholds.

A2B_SYSMON_OUTOFRANGE

System Monitor Procedure Property Value Has Changed

Simple comparison for any change.

A2B_SYSMON_PROPHASCHANGED

System Monitor Procedure Threshold Breach

Compares property values against a threshold, but only triggers when the threshold is crossed. In other words, the rule will not continue to trigger while the property value remains above or below the threshold.

A2B_SYSMON_THOLDBREACH

Fault

Fault Rule procedure always returns False

This is a rule that will always suppress faults.

A2B_FAULTCHECK_FALSE

Fault Rule procedure always returns True

This is a rule that will never suppress faults.

A2B_FAULTCHECK_TRUE

Fault Rule procedure tests for equal codes

This tests the fault ERROR CODE that matches the one specified for the rule.

A2B_FAULTERRCODE_EQ

Fault Rule procedures tests for not equal codes

This tests the fault ERROR CODE that does not match the one specified for the rule.

A2B_FAULTERRCODE_NOTEQ