Hello Rob,
we appreciate your contact.
Let's say this is the data you're working with:
1.3.6.1.4.1.1.2.3.4.5.6.1.0 = "1" [ASN_OCTET_STR] |
Although the SNMP Datatype is indeed string, PRTG is smart enough to read this as a numerical value, for example if you employ the SNMP Custom sensor.
And once the sensor was deployed, click on settings gear for the "Value" channel (to open the channel settings and associate it with a lookup that translates 0 and 1. That's all there is to it.
You would only need to use the SNMP Custom String Lookup sensor if the device delivered values like:
1.3.6.1.4.1.1.2.3.4.5.6.1.0 = "OK" [ASN_OCTET_STR] |
1.3.6.1.4.1.1.2.3.4.5.6.2.0 = "Failure" [ASN_OCTET_STR] |
For more information on this subject, please refer to:
Best Regards,
Luciano Lingnau [Paessler Support]
Add comment