Config Router

  • Google Sheets
  • CCNA Online training
    • CCNA
  • CISCO Lab Guides
    • CCNA Security Lab Manual With Solutions
    • CCNP Route Lab Manual with Solutions
    • CCNP Switch Lab Manual with Solutions
  • Juniper
  • Linux
  • DevOps Tutorials
  • Python Array
You are here: Home / Juniper / How to check the Registered SNMP MIB Objects on the device

How to check the Registered SNMP MIB Objects on the device

June 11, 2016 by James Palmer

All the MIB objects are registered with the snmpd process running on the device, whenever a SNMP agent comes online.

The snmpd process is responsible for maintaining a mapping of the objects and the agent with which the objects are associated.

The goal is to check the registered MIBs with the snmpd process for CPU utilization, Memory usage, and so on.

To check the MIB objects that are registered with SNMPD, run the command below:

root@SRX#run show snmp registered-objects

This command will create a file with the name snmp_reg_objs on the device. This file will contain the information with the registered SNMPD MIBs, which can be viewed by running the command below:

root@SRX> file list /var/log/ detail |match snmp
-rw-rw---- 1 root wheel 28510 Nov 1 00:16 snmp-check
-rw-r--r-- 1 root wheel 265416 Oct 15 19:20 snmp_reg_objs

The /var/log/snmp_reg_objs file contains only those objects that are associated with Junos OS processes that are up and running and that are registered with snmpd when the show snmp registered-objects command is running. If a MIB object related to a Junos OS process that is up and running is not shown in the list of registered objects, you should restart the software process to retry object registration with SNMPD.

To view the registered MIB Objects, run the command below:

root@SRX# run show log snmp_reg_objs

--------------------------------------------------------------
Registered MIB Objects
root_name =
--------------------------------------------------------------
.1.0.8802.1.1.2.1.1.1 (lldpMessageTxInterval) (/var/run/l2cpd_snmp)
.1.0.8802.1.1.2.1.1.2 (lldpMessageTxHoldMultiplier) (/var/run/l2cpd_snmp)
.1.0.8802.1.1.2.1.1.3 (lldpReinitDelay) (/var/run/l2cpd_snmp)
.1.0.8802.1.1.2.1.1.4 (lldpTxDelay) (/var/run/l2cpd_snmp)
.1.0.8802.1.1.2.1.1.5 (lldpNotificationInterval) (/var/run/l2cpd_snmp)
.1.0.8802.1.1.2.1.1.6.1.2 (lldpPortConfigAdminStatus) (/var/run/l2cpd_snmp)
.1.0.8802.1.1.2.1.1.6.1.3 (lldpPortConfigNotificationEnable) (/var/run/l2cpd_snmp)
.1.0.8802.1.1.2.1.1.6.1.4 (lldpPortConfigTLVsTxEnable) (/var/run/l2cpd_snmp)
.1.0.8802.1.1.2.1.1.7.1.1 (lldpConfigManAddrPortsTxEnable) (/var/run/l2cpd_snmp)
.1.0.8802.1.1.2.1.2.1 (lldpStatsRemTablesLastChangeTime) (/var/run/l2cpd_snmp)
.1.0.8802.1.1.2.1.2.2 (lldpStatsRemTablesInserts) (/var/run/l2cpd_snmp)
.1.0.8802.1.1.2.1.2.3 (lldpStatsRemTablesDeletes) (/var/run/l2cpd_snmp)

To check for specific MIBs, modify the command as follows:

root@SRX# run show log snmp_reg_objs | match cpu

.1.3.6.1.2.1.37.1.3.1.3 (atmInterfaceDs3PlcpUASs) (/var/run/mib2d-11)
.1.3.6.1.2.1.54.1.2.3.1.9 (sysApplElmtRunCPU) (/var/run/mib2d-11)
.1.3.6.1.4.1.2636.3.1.13.1.8.1.1 (jnxOperatingCPU.1.1) (/var/run/chassisd-42)
.1.3.6.1.4.1.2636.3.1.13.1.8.2.1 (jnxOperatingCPU.2.1) (/var/run/chassisd-42)
.1.3.6.1.4.1.2636.3.1.13.1.8.2.2 (jnxOperatingCPU.2.2) (/var/run/chassisd-42)
.1.3.6.1.4.1.2636.3.1.13.1.8.2.3 (jnxOperatingCPU.2.3) (/var/run/chassisd-42)
.1.3.6.1.4.1.2636.3.1.13.1.8.2.4 (jnxOperatingCPU.2.4) (/var/run/chassisd-42)
.1.3.6.1.4.1.2636.3.1.13.1.8.2.5 (jnxOperatingCPU.2.5) (/var/run/chassisd-42)
.1.3.6.1.4.1.2636.3.1.13.1.8.4.1 (jnxOperatingCPU.4.1) (/var/run/chassisd-42)
.1.3.6.1.4.1.2636.3.1.13.1.8.4.2 (jnxOperatingCPU.4.2) (/var/run/chassisd-42)
.1.3.6.1.4.1.2636.3.1.13.1.8.7.1 (jnxOperatingCPU.7.1) (/var/run/chassisd-42)
.1.3.6.1.4.1.2636.3.1.13.1.8.7.2 (jnxOperatingCPU.7.2) (/var/run/chassisd-42)

Related

Filed Under: Juniper

Recent Posts

  • How do I give user access to Jenkins?
  • What is docker volume command?
  • What is the date format in Unix?
  • What is the difference between ARG and ENV Docker?
  • What is rsync command Linux?
  • How to Add Music to Snapchat 2021 Android? | How to Search, Add, Share Songs on Snapchat Story?
  • How to Enable Snapchat Notifications for Android & iPhone? | Steps to Turn on Snapchat Bitmoji Notification
  • Easy Methods to Fix Snapchat Camera Not Working Black Screen Issue | Reasons & Troubleshooting Tips to Solve Snapchat Camera Problems
  • Detailed Procedure for How to Update Snapchat on iOS 14 for Free
  • What is Snapchat Spotlight Feature? How to Make a Spotlight on Snapchat?
  • Snapchat Hack Tutorial 2021: Can I hack a Snapchat Account without them knowing?

Copyright © 2025 · News Pro Theme on Genesis Framework · WordPress · Log in