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

How do I use Management Information Base (MIB) folders with the SNMP Custom v2 sensor?

Votes:

0

The SNMP Custom v2 sensor now supports certain MIB folders. Which ones are supported and how do they work?

custom mib prtg snmp

Created on May 4, 2023 9:25:38 AM by  Jacqueline Conforti [Paessler Support]



1 Reply

Accepted Answer

Votes:

0

This article applies as of PRTG 23.2.84


Previously, in order to import MIB files from your devices into PRTG, you had to use the PRTG MIB Importer to convert MIB files into .oidlib files. With the SNMP Custom v2 sensor, available in beta as of PRTG 23.2.84, it is now possible to use some MIB files directly, without needing to convert them. This is currently available for Windows and Linux systems.

What kind of MIB files can I use?

The SNMP Custom v2 sensor supports Abstract Syntax Notation One MIB files, or ASN.1 MIB files. For more information about ASN.1, see this resource page from SNMP Link.


How do I use my ASN.1 MIB files with the SNMP Custom v2 sensor?

1. Add the ASN.1 MIB file to the PRTG program files.

Windows

DescriptionFolderExample
Define NetSNMP's default environment variable%MIBDIRS%
Create a custom MIB directory${PRTG-Data-Path}\mibs
C:\ProgramData\Paessler\PRTG Network Monitor\mibs
Add to the Monitoring Modules shared MIB directory${libsnmp-Dir}\mibsC:\Program Files (x86)\PRTG Network Monitor\MonitoringModules\shared\mibs
Add to the PRTG MIB directory${PRTG-Install-Dir}\MIBC:\Program Files (x86)\PRTG Network Monitor\MIB

Note:

  • If you are unsure of the location of the PRTG Data Path of your installation, you can find it on your PRTG instance under Setup | System Status | System Settings | Data Path or in the PRTG Administration Tool under PRTG Core Server.
  • We recommend you create a custom MIB directory to save all your MIB files. You can do this by navigating to your PRTG Data Path (i.e., C:\ProgramData\Paessler\PRTG Network Monitor) and creating a folder called mibs.

Linux

Tested with Ubuntu and Debian.

DescriptionFolderExample
Define NetSNMP's default environment variable$MIBDIRS
Create a custom MIB directory$HOME/.paessler/snmp$HOME/user/.paessler/snmp
Add to the default NetSNMP's home directory path$HOME/.snmp
Add to the shared Monitoring Modules MIB directory${libsnmp-Dir}/mibs$HOME/user/PRTG Network Monitor/MonitoringModules/shared/mibs
Add to the default NetSNMP directories/usr/share/snmp/mibs /usr/share/snmp/mibs/iana /usr/share/snmp/mibs/ietf

Note: The folders paths are based completely on your Linux and program setup. They might differ from the examples above.

2. In your PRTG instance, add an SNMP Custom v2 Sensor.

In the SNMP Custom Specific settings, enter the OID… SNMP Custom Specific OID
Click here to enlarge.

…or the ASN.1 Name you wish to monitor. SNMP Custom Specific ASN.1 Name
Click to enlarge.

Note:

  • The SNMP Custom v2 Sensor must be added on the same system running the probe with the ASN.1 MIB file.
  • The OID or ASN.1 Name must be entered without spaces and is case-sensitive. You can continue to use the PRTG MIB Importer to easily find the necessary OIDs in your MIB files. If you are struggling to find the ASN.1 Name of the value you wish to monitor, you can try to google the OID you wish to use and find the search response leading to www.oidref.com. (Unfortunately, there is not currently a search feature on the website.)

3. Adjust the SNMP Custom Specific settings to suit your monitoring needs.

4. Create the sensor


More

Knowledge Base

How can I import MIB files into PRTG?

How do SNMP, MIBs, and OIDs work?

Where can I find MIB files for my device?

Paessler Website

SNMP, MIBs, and OIDs - an overview

Created on May 17, 2023 6:05:33 AM by  Jacqueline Conforti [Paessler Support]

Last change on Jul 25, 2023 12:17:45 PM by  Jacqueline Conforti [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.