New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

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

Free PRTG
Download >>

 

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


How do I customise a sensor name using another OID?

Votes:

0

Your Vote:

Up

Down

In a oidlib file, how can I get a value from an OID and put it into a name and another value from an associated OID for the sensor value?

Basically what I have is this:

1.3.6.1.4.1.674.10892.5.4.700.12.1.6.1.1 = "2280"
1.3.6.1.4.1.674.10892.5.4.700.12.1.6.1.2 = "2400"
1.3.6.1.4.1.674.10892.5.4.700.12.1.6.1.3 = "2400"
1.3.6.1.4.1.674.10892.5.4.700.12.1.6.1.4 = "2280"
1.3.6.1.4.1.674.10892.5.4.700.12.1.8.1.1 = "System Board Fan2"
1.3.6.1.4.1.674.10892.5.4.700.12.1.8.1.2 = "System Board Fan3"
1.3.6.1.4.1.674.10892.5.4.700.12.1.8.1.3 = "System Board Fan4"
1.3.6.1.4.1.674.10892.5.4.700.12.1.8.1.4 = "System Board Fan5"

Where 1.3.6.1.4.1.674.10892.5.4.700.12.1.6.1.n contains the values and 1.3.6.1.4.1.674.10892.5.4.700.12.1.8.1.n contains the names.

I tried using "NotApplicable|Fan Speeds|Fan Speed #[1.3.6.1.4.1.674.10892.5.4.700.12.1.8.1.1]" for the name, but all I got in place of "#[1.3.6.1.4.1.674.10892.5.4.700.12.1.8.1.1]" was a number.

snmp-custom-sensor snmp-custom-table snmp-library

Created on Apr 7, 2017 12:55:48 PM by  mattybrown (0) 1

Last change on Apr 10, 2017 11:22:28 AM by  Luciano Lingnau [Paessler Support]



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

Hi there,

The best way to achieve this is to use the "SNMP Custom Table Sensor". In your case you have to use the OID "1.3.6.1.4.1.674.10892.5.4.700.12" as the table OID during the creation. Afterwards you can choose all displayed rows, which values should be monitored and which column should be the identifier, in your case it is:

1.3.6.1.4.1.674.10892.5.4.700.12.1.8.1 = System Board Fan2

Now you can enter into the sensor name (still during the creation):

My Static Sensor Name / [rowidentifier]

The sensor name will then look like "My Static Sensor Name / System Board Fan2".
Settings: Settings

Best regards.

Created on Apr 11, 2017 8:53:30 AM by  Dariusz Gorka [Paessler Support]



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.