Dynamic OID?

Votes:

0

Your Vote:

Up

Down

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 by  Capm (0) 1



3 Replies

Votes:

0

Your Vote:

Up

Down

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] (19,480) 3 1

Last change on Feb 4, 2011 12:08:29 PM by  Torsten Lindner [Paessler Support] (19,480) 3 1



Votes:

0

Your Vote:

Up

Down

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 by  Capm (0) 1



Votes:

0

Your Vote:

Up

Down

Netsnmp should also be available for Windows.

Created on Feb 4, 2011 2:19:54 PM by  Torsten Lindner [Paessler Support] (19,480) 3 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.

PRTG
Network Monitor
Intuitive to Use.
Easy to manage.

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

Visit
www.paessler.com

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