User manual

Sensorsoft Alert User Manual
To enable a specific alert action for a particular alert state, the corresponding ssXXXXXXEnable MIB
object must be set to 1. The following chart lists the ssXXXXXXEnable objects that correspond to each
alert action for each alert state:
Alert State
Trap Enable MIB
Object
Email Enable MIB
Object
Command Line
Enable MIB Object
Breach of Boolean
Critical Limit
SsTrapOnBooleanCrit
icalEnable
SsEmailOnBooleanCri
ticalEnable
ssCommandOnBoolea
nCriticalEnable
Return To Normal
SsTrapOnReturnToNo
rmalEnable
SsEmailOnReturnToN
ormalEnable
SsCommandOnReturn
ToNormalEnable
For instance, to have a trap and an Email sent whenever the currently indexed variable on the currently
indexed device enters the Breach of Boolean Critical Limit state, you should set
ssTrapOnBooleanCriticalEnable and ssEmailOnBooleanCriticalEnable to 1.
Setting up SNMP Trap Alerts
1. Setting the Trap Destination IP Address:
Set the ssTrapDestination1 object to the IP address of the network management station where you
would like to receive traps. If you would like to receive SNMP traps at two different network
management stations, set the ssTrapDestination2 object to the IP address of the second station.
2. Selecting the monitored device for which alerts will be setup:
This is done by setting the ssDeviceIndex MIB object to the index of the serial port where the
monitored device is connected. For instance, if you would like to send a trap when a temperature is
too high, and you have a SS6610J sensor connected to port 2, set ssDeviceIndex to 2.
3. Selecting the variable for which alerts will be setup:
This can be done by setting the ssVarIndex object. For instance, the SS6610J Sensor has 4 variables.
The first two variables (ssVarIndex =1 and ssVarIndex=2) are humidity variables. The next two
variables on the SS6610J Sensor are temperature variables (ssVarIndex =3 and ssVarIndex=4). You
can easily tell which variable you are currently accessing by doing an SNMP Get on the ssVarName
object.
4. Setting breach limits on the variable:
There are two different classes of variables on Sensorsoft devices and Sensorsoft plug-in supported
devices. They are scalar and Boolean. You can determine the class of the currently indexed variable
on the currently indexed device by getting ssVarClass object’s value. If the variable is scalar,
proceed with step 5. If the variable is Boolean, skip step 5 and continue with step 6.
5. Setting scalar breach limits if the variable is scalar:
Refer to section Setting Breach Limits on Scalar Variables through SNMP for how to setup the scalar
breach limits. If you want to be alerted by a trap when this variable goes into Breach of Scalar Critical
state, set ssTrapOnScalarCriticalEnable to 1; if you want be alerted by a trap when this variable
goes into Breach Of Scalar Warning state, set ssTrapOnScalarWarningEnable to 1. To disable a
trap, set the ssTrapOnScalarCriticalEnable or ssTrapOnScalarWarningEnable object back 0. By
default, traps will be repeatedly sent at 5 minute intervals as long as the variable is in the same breach
state. You can change this alerting interval by specifying a new value (in minutes) in
ssTrapOnScalarCriticalInterval and ssTrapOnScalarWarningInterval.
6. Choosing the Boolean critical value if the variable is Boolean:
Please refer to section Setting Breach Limit on Boolean Variables through SNMP for how to set the
Boolean critical value. Once we have set the ssBooleanCriticalState Object, we must enable the trap
52