Support Support Downloads Knowledge Base Apex Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[ScreenOS] Steps to create Cross-Reference Table of MIB to OID Relationships for MRTG or other SNMP tools

0

0

Article ID: KB6590 KB Last Updated: 14 Jul 2011Version: 7.0
Summary:
Is there a Cross-Reference Table for MIB to OID Relationships?
Symptoms:
SNMP MRTG can't find a MIB to OID mapping
Solution:
For a standard set of NetScreen MIBs, you may refer to following article:
KB20992 - Cross-reference table for MIB to OID relationships


A cross reference table can be created for all the Netscreen MIB's to use with MRTG or other SNMP-based tools as follows:

Download the latest MIB definition. To download the MIB definitions, go to Enterprise MIBs and select ScreenOS Software MIBs for the Netscreen Products.

Install the MIBs on your Network Monitoring System ISM. Typically, the MIBs will reside under this location:
/usr/share/snmp/mibs/
Set the environment variable to load the MIBs.
export MIBS=ALL
The 'export' command applies to BASH (Bourne Again Shell); the command for each shell program may differ.

Perform a MIB walk on the desired MIBs to be cross-referenced. For example, to walk the complete enterprise MIB and produce the output in a readable format, issue the following:
bash# snmpwalk -0b netscreen
Viewing the results produced for the memory-free OID generates the following:
enterprises.netscreen.netscreenResource.nsResMem.nsResMemLeft.0enterprises.netscreen.
netscreenResource.nsResMem.nsResMemLeft.0=34988704
The last step is to convert the information to a numerical format for use with Multi-Router Traffic
Grapher (MRTG) or any SNMP capable tool or script. To convert to a numerical format, use the following command:
bash# snmpget -On enterprises.netscreen.netscreenResource.nsResMem.nsResMemLeft [enter]
The resulting output produces the following:
.1.3.6.1.4.1.3224.16.2.2.0 = 34983088


Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search