What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

How to make Custom OID with no value to be false positive

Votes:

0

Our equipment will not give any value on the custom OID if the port is alarm free and only give string value if only got alarm on it per example below:

1.3.6.1.4.1.18070.2.9.1.1.1.7.12.111.116.117.52.58.49.47.49.47.49.47.49.9 = "Loss of Signal" [ASN_OCTET_STR] 1.3.6.1.4.1.18070.2.9.1.1.1.7.12.111.116.117.52.58.49.47.49.47.50.47.49.9 = "Loss of Signal" [ASN_OCTET_STR]

is there any way that i can make the custom OID with no value to be false positive and change the state to UP, and when there's value it will change it state to Down.

sensor snmp snmp-sensor

Created on Feb 8, 2019 2:22:38 AM



1 Reply

Votes:

0

Dear Afiq,

an OID with actually no value cannot be processed in PRTG. Getting no value will result in a sensor error status.

You can use the SNMP Custom String Lookup sensor to translate a string to a value, and back, using a custom-made lookup file.

This means, only the other way is possible, if the OID yields no value, the sensor is going down. You can then create a Factory sensor in order to invert the status with a custom status formula. Please scroll down to chapter "Define Sensor Status—status() Function" to see how it is done.

Created on Feb 8, 2019 12:06:12 PM by  Arne Seifert [Paessler Support]

Last change on Feb 8, 2019 12:06:36 PM by  Arne Seifert [Paessler Support]




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.