I am using an SNMP Custom sensor to find the state of the Power Supply in one of our Dell servers. The sensor is reporting data back, however I'd like to ensure that proper alerting gets sent out if the status changes. The values are all over the place, per:
For instance, our current state is 242, but if it changes to, for instance, 1, 4, 8, 10, 210, I would like to change state to warning or down, but some of the other values between that range I may not want to change state.
Is there a way to set this so that it only encompasses specific values based on this lookup table?