I try to get an OID string-value into the Custom Advanced Sensor. As I read before, it should not be possible to get string values directly into the sensor. So I implemented the OID into the name of the sensor. This worked pretty fine, but I realized, that the value does not change itself, after it was changed on the device. That seems to be a problem. So is there any other way, to get the current string value in the SNMP Custom Advanced Sensor or convert the numeric value, that the sensor gets by default?


Article Comments

Hello,

string values cannot be directly processed, as channels only contain numeric data. You have two options:

  • If the string contains a number which you want to get, instead the SNMP Custom String Sensor and use the option to extract a number out of the string. The result must be a scalar, no other formats are supported.

Aug, 2020 - Permalink

Hi,

I really appreciated your reply. The first option just showed me how to solve my problem on another way.


Aug, 2020 - Permalink