Hello,

I created a sensor using an imported OID library for a TrippLite UPS. One on the sensors is "ups alarm descr". When there is an alarm present, this channel exists and the data is a string with the alarm status (i.e. "Battery Age threshold exceeded"). But when there is no alarm present, this sensor shows an error: "No Such Name (SNMP error #2)".

In both cases above, the sensor is always in red status.

Questions:

1- How can I manage the nonexistence of this channel when there is no alarm? and 2- How to keep it on "green" state when no alarm is present?


Article Comments

Hello,

I'm afraid the only way to get at this would be with a Custom Script Sensor that does the error-handling (when the OID is not available) itself externally. PRTG needs persistent OIDs.

best regards.


Oct, 2012 - Permalink