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.
Article Comments
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.
Feb, 2019 - Permalink
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.
Feb, 2019 - Permalink