New Question
 
 
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.

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 can I change the defaults for names automatically generated for new SNMP sensors?

Votes:

1

Your Vote:

Up

Down

I am adding new SNMP sensors to my SNMP device.

Can I influence the names that are automatically generated for the sensors?

name prtg sensor snmp

Created on Jul 29, 2010 3:17:33 PM by  Daniel Zobel [Paessler Support]

Last change on Jul 30, 2010 7:39:49 AM by  Daniel Zobel [Paessler Support]



6 Replies

Accepted Answer

Votes:

1

Your Vote:

Up

Down

This article applies to PRTG Network Monitor 16 or later

PRTG Looks Up Names in the OID Tree

To create names for new sensors on SNMP devices, PRTG scans an interface for available counters. At the respective OID address of a counter, there are usually several fields with description information available. They are different for every device/OID. PRTG will use the information in these fields to name the sensors.

There is a standard set of fields that PRTG uses for initial sensor naming, but you can change it if you like. (Of course, you always have the option to manually change a sensor name in a sensor's settings.)

Changing the Port Name Template

In a device's settings, or in the settings of a group containing devices, remove the check mark symbol in front of the Inherit SNMP Compatibility Settings line. You can now change these settings. Navigate to the Port Name Template field.

The standard port name template is ([port]) [ifalias] which can create names such as (001) Ethernet1, for example (the actual values depend on your device).

You can use any field names available at a certain OID of your device, among which are:

  • [port]: The port number of the monitored interface.
  • [ifalias]: The 'alias' name for the monitored interface as specified by a network manager, providing a non-volatile handling.
  • [ifname]: The textual name of the monitored interface as assigned by the local device.
  • [ifdescr]: A textual string containing information about the monitored device or interface, for example, manufacturer, product name, version.
  • [ifspeed]: An estimate of the monitored interface's current bandwith (KBit/s).
  • [ifsensor]: The sensor type, SNMP Traffic or SNMP RMON

Combine them as you like to obtain suitable sensor names. Besides these field names in square brackets [ ] you can add other characters to the template for nicer formatting, such as space, or round brackets ( ), for example.

If a field is actually available depends on the device you're scanning. If a field is empty or not available, an empty string is added to the name; this may even result in completely empty sensor names when only using empty fields.

See Also

How do SNMP, MIBs and OIDs work?

Created on Jul 29, 2010 3:30:48 PM by  Daniel Zobel [Paessler Support]

Last change on May 18, 2017 5:08:37 PM by  Gerald Schoch [Paessler Support]



Votes:

0

Your Vote:

Up

Down

It would be really really useful to be able to include the device name in the template.

Created on Aug 29, 2012 10:07:07 AM by  dorreke (0) 1



Votes:

0

Your Vote:

Up

Down

Sorry, that is not possible, Templates only store sensor properties, and this is a device property.

Created on Aug 29, 2012 4:26:31 PM by  Torsten Lindner [Paessler Support]



Votes:

0

Your Vote:

Up

Down

OK, thanks.

Created on Jan 22, 2013 8:16:52 AM by  dorreke (0) 1



Votes:

0

Your Vote:

Up

Down

We would really like to use placeholders for the devicenames.

For example we would like to change sensors names (ping 1) with multiple edit ( good option ) and change them to ping %device%

You can use these in email templates etc.... can you make the placeholders available in device names and templates.

Created on Jul 29, 2015 1:31:32 PM by  Wizzbit (0)



Votes:

0

Your Vote:

Up

Down

That's an issue for us too, %device% would be a big win for us.

Created on Dec 19, 2016 9:52:04 AM by  lawinchen (0)



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.