New Question
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Download >>


What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more


Top Tags

View all Tags

Lookups when value is a String



Your Vote:



Hello.. I have an snmp device that sends the input status as a STRING in the form of "0" or "1". I would like to use Lookups but they only support INTEGERS. I need to change the displayed status to a different string, ie "0" --> OK and "1" --> Failure.

I have tried using the SNMP custom string with Lookups but it only works for integers.. Any other way to make this work?


custom-lookup lookups prtg

Created on Mar 14, 2018 4:29:45 PM by  Rob Enders (10) 1

Last change on Mar 15, 2018 7:57:06 AM by  Luciano Lingnau [Paessler Support]

2 Replies

Accepted Answer



Your Vote:



Hello Rob,
we appreciate your contact.

Let's say this is the data you're working with: = "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: = "OK" [ASN_OCTET_STR] = "Failure" [ASN_OCTET_STR]

For more information on this subject, please refer to:

Best Regards,
Luciano Lingnau [Paessler Support]

Created on Mar 15, 2018 8:08:16 AM by  Luciano Lingnau [Paessler Support]



Your Vote:



Luciano Lingnau ROCKS!

Thank you Sir.. Your solution works as described and meets my needs perfectly..

Best Regards, Rob

Created on Mar 15, 2018 12:09:46 PM by  Rob Enders (10) 1

Please log in or register to enter your reply.

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.