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

Dynamic OID?

Votes:

0

Is it possible to take a result from 1 sensor (an integer) to create a dynamic OID?

Say the result from Sensor 1 = 1345

So, in a new sensor, (Sensor 2) to pull the appropriate data for the device, I would need an oid with a variable, perhaps like this:

1.3.6.1.2.1.10.127.1.3.3.1.13.[$Channel (2049,0)]

where [$Channel (2049,0)] is the raw result from Sensor 1.

Then Sensor 1 and 2 would be listed under a parent device, but the result from Sensor 2 needs to be displayed under the child device, so Sensor 3 would be a Sensor Factory, on the child device, reading/formatting the result from Sensor 2.

Reason being is that the result from Sensor 1 might change when the child device reboots.

Is this possible?

dynamic oid sensor-factory

Created on Feb 4, 2011 3:06:36 AM



3 Replies

Votes:

0

Hello,

this is most likely better realized in a custom script altogether with netsnmp or a similar tool. Request the first sensor result and then use a bit of scripting to use this result in the OID for the 2nd result.

Best Regards.

Created on Feb 4, 2011 12:08:14 PM by  Torsten Lindner [Paessler Support]

Last change on Feb 4, 2011 12:08:29 PM by  Torsten Lindner [Paessler Support]



Votes:

0

I'm a bit of a noob when it comes to snmp, prtg and linux, how would I get a result from netsnmp running on my linux box to prtg on my windows box?

Created on Feb 4, 2011 1:21:57 PM



Votes:

0

Netsnmp should also be available for Windows.

Created on Feb 4, 2011 2:19:54 PM by  Torsten Lindner [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.