How can you trigger different alarms with different alarm texts depending on the value of a single variable?
You need to trigger different alarms based on the value of a single variable. As an example, a variable coming from an APC Symmetra UPS will report various alarm states as a number from 1 to 7 in the same variable, and you need to differentiate the alarm text on each value.
|1||unknown||Module is in Unknown state from UPS|
|2||not installed||Module not installed in UPS|
|3||Off OK||Module not installed in UPS|
|4||On OK||Module not okay in UPS|
|5||Off Fail||Module off fail in UPS|
|6||On Fail||Module on fail in UPS|
|7||Lost Communication||Module lost comm. in UPS|
Here are two examples on how to do it