SNMP Agent Trap Send Rule Edit

From Control Solutions IoTServer Documentation
Revision as of 14:43, 22 April 2019 by Jimhogenson (talk | contribs)
Jump to navigation Jump to search

Snmp agent trap rule edit 1.jpg

Rule Number – Used as a reference in the rule list for ordering the rules.

Snmp agent trap rule edit 2.jpg

Branch – Specifies which branch in the MIB that this trap rule applies to, and primarily provides the means to look up the local object number that should be evaluated.

Index – Specifies the index or row number in the given branch for looking up the local object nubmer.

Snmp agent trap rule edit 3.jpg

Test – Defines the test that should be performed to determine if the trap send rule state is true or false. Trap state is considered “true” when this condition is met

Test label Test performed on object versus threshold
GT Object greater than threshold
GE Object greater than or equal threshold
LT Object less than threshold
LE Object is less than or equal threshold
EQ Object is equal threshold
NE Object is not equal threshold
DEV Object deviates from threshold by hysteresis amount
DELTA Object has changed by threshold amount

Snmp agent trap rule edit 4.jpg

CondVal – Provided no conditional object number is given, this becomes the threshold value for test purposes.

CondObj – Overrides the conditional value when given (non-zero), and provides the local object from which a test threshold should be retrieved.

Hyst – Specifies the hysteresis value to be applied in the test process (see API notes).

Snmp agent trap rule edit 5.jpg

SendOnTrue – Enter “N” to disable, or “Y” to enable the sending of a trap when the condition specified by this rule tests “true”.

SendOnFalse – Enter “N” to disable, or “Y” to enable the sending of a trap when the condition specified by this rule tests “false”.

Snmp agent trap rule edit 6.jpg

DevMask – A 32-bit bit mask that allows sending the same trap to multiple devices. Both the trap send rules and the trap devices have a “device mask” (devMask). This effectively creates device groups in a very simple manner. The bit mask found in the trap send rule is logically ANDed with the bit mask in the device table entry. If the result is non-zero, then the trap is sent to this device.

Snmp agent trap rule edit 7.jpg

SendInform – Enter “N” to send the message as an SNMP Trap, or “Y” to send the message as an SNMP Inform.

Snmp agent trap rule edit 8.jpg

OnTime – Specifies a minimum amount of time in seconds that the “true” state must exist before the trap state will be fully regarded as true and “true” trap sent. If the condition tests true, and within this time period returns to false, no “true” trap will be sent.

OffTime – Specifies the minimum amount of time in seconds that the “false” state must exist before the trap state will be fully regarded as false and the “false” trap sent. If the condition tests false, and within this time period returns to true, no “false” trap will be sent.

Snmp agent trap rule edit 9.jpg

TrueMsg – Provides a user defined message that will be delivered as one of the varbinds in any “true” Trap or Inform message sent.

FalseMsg – Provides a user defined message that will be delivered as one of the varbinds in any “false” Trap or Inform message sent.

Snmp agent trap rule edit 10.jpg

RepTrue – Used only with SNMP v1 or v2, and generally only with Trap messages (not Inform messages) to repeat the trap this number of times when true. Traps are not acknowledged, so this provides a means of repeating the same Trap message to better ensure delivery.

RepFalse – Used only with SNMP v1 or v2, and generally only with Trap messages (not Inform messages) to repeat the trap this number of times when false. Traps are not acknowledged, so this provides a means of repeating the same Trap message to better ensure delivery.

RepTime – Specifies the amount of time in seconds to wait in between repeated sending of the same Trap message as indicated by the repeat count attributes above.