I using Paessler snmp tester, i can get the result (refer the snmp walk below)

1.3.6.1.4.1.2011.5.25.111.4.1.1.26.5.97.100.109.105.110.2.51.71.933.1 = "0" [ASN_UNSIGNED] 1.3.6.1.4.1.2011.5.25.111.4.1.1.26.5.97.100.109.105.110.3.110.111.99.1244.1 = "29" [ASN_UNSIGNED] 1.3.6.1.4.1.2011.5.25.111.4.1.1.26.5.97.100.109.105.110.4.87.65.78.49.933.1 = "108" [ASN_UNSIGNED] 1.3.6.1.4.1.2011.5.25.111.4.1.1.26.5.97.100.109.105.110.6.89.53.90.79.78.69.933.1 = "0" [ASN_UNSIGNED]

when i using same OID listed above. Example: "1.3.6.1.4.1.2011.5.25.111.4.1.1.26.5.97.100.109.105.110.4.87.65.78.49.933.1", it shows No such instance

26-Mar-16 2:27:12 PM (5 ms) : SNMP V2c 26-Mar-16 2:27:12 PM (6 ms) : Custom OID 1.3.6.1.4.1.2011.5.25.111.4.1.1.26.5.97.100.109.105.110.4.87.65.78.49.933.1 26-Mar-16 2:27:13 PM (188 ms) : SNMP Datatype: SNMP_EXCEPTION_NOSUCHINSTANCE 26-Mar-16 2:27:13 PM (192 ms) : ------- 26-Mar-16 2:27:13 PM (194 ms) : Value: No such instance (SNMP error # 223) 26-Mar-16 2:27:13 PM (197 ms) : Done

this is cause by the OID "1.3.6.1.4.1.2011.5.25.111.4.1.1.26.5.97.100.109.105.110.4.87.65.78.49.*.1" keep increasing.

  • value keep increasing.

I found other Network Monitoring tools such as Solarwind, it only required to using OID (Example: "1.3.6.1.4.1.2011.5.25.111.4.1.1.26.5.97.100.109.105.110.4.87.65.78.49") instead of full OID (Example :"1.3.6.1.4.1.2011.5.25.111.4.1.1.26.5.97.100.109.105.110.4.87.65.78.49.933.1")

Please advise got anywhere SNMP Custom can only validate the front OID.


Article Comments

Dear ying7690

Did you also contact us via email? You are correct, a PRTG SNMP Custom sensor only evaluates complete OIDs.


Mar, 2016 - Permalink

If without complete OID, can PRTG monitor it? Is it required using EXE/Script?


Mar, 2016 - Permalink

Dear ying7690

To monitor changing or incomplete OIDs, please use a custom script sensor. You could use the free Net-SNMP library to do your own SNMP queries.


Mar, 2016 - Permalink

May i know NET-SNMP Tools installed in the Probe and available "in the path" of the Probe performing the queries.

1. I am using window server, may i know "in the path" is it means C:\Program Files (x86)

2. I perform the query below by using cmd.

C:\Windows\System32>snmpwalk -v2c  -c sbsnmp@15 219.92.8.87 1.3.6.1.4.1.201.1.5.25.111.4.1.1.26.5.97.100.109.105.110.3
SNMPv2-SMI::enterprises.201.1.5.25.111.4.1.1.26.5.97.100.109.105.110.3 = No Such Object available on this agent at this OID
C:\Windows\System32>snmpwalk -v2c  -c sbsnmp@15 219.92.8.87 1.3.6.1.4.1.2011.5.25.111.4.1.1.26.5.97.100.109.105.110.3
SNMPv2-SMI::enterprises.2011.5.25.111.4.1.1.26.5.97.100.109.105.110.3.110.111.99.5277.1 = Gauge32: 32

it can get the value = 32, i want to use PRTG to retrieve this value


Mar, 2016 - Permalink

Dear ying7690

A PRTG SNMP Custom sensor does not perform a walk, it reads an OID value.

If you want to use Net-SNMP in a custom sensor, you could call the Net-SNMP executable with the full path name, or add the path to Net-SNMP to the PATH environment variable. The first approach is usually preferable.

The PRTG custom sensor API is documented in the PRTG webinterface, Setup | PRTG API, tab "Custom Sensors". Your script could call the snmpwalk tool, grab the output, cut any unnecessary parts (leaving only the numeric value, in this case 32) and output that according to the custom sensor API. Using the Exe/Script standard sensor, a minimal output would look like

32:Okay

This example returns the number 32 and the sensor status message Okay.


Mar, 2016 - Permalink