Net-snmp load a third-party MIB Library
. Netcc ++ C # Unix
The MIB file we downloaded may be suffixed with. MIB. For clarity, you may need to change the name. It is generally changed to mib_name.txt.
For example,/usr/share/snmp/mibs/IP-MIB.txt
Net-snmp Add User-Defined MIB and net-snmp User-Defined mibI know three methods to add a user-defined MIB. static Load. c and. add the H file to the corresponding location and re-compile the snmp library. The advantage is that you do not need to
Install net-snmp
# YumInstallNet-snmp *
By default, there are 65 built-in MIB under/usr/share/snmp/mibs.
By default, the path for searching the MIB library is$ Home/. snmp/mibs:/usr/share/snmp/mibs
Download the required MIB Library, under my
Traditional System Administrators are concerned with many problems, such as installation and configuration, backup and recovery, resource sharing, system security, and performance optimization, which are important aspects of network management today.
SNMP protocol Overview
SNMP (Simple Network Management Protocol) is a Simple Network Management Protocol, which provides a framework for the network management system to manage the underlying network. The SNMP protocol is widely used in many types
Basic concepts and classification of system monitoring:A Overview of System monitoring: How to scientifically, systematically and efficiently monitor the overall and detailed operation of existing IT architectures is a very important part of the
1. Preparation environmentYum-y install make gcc gcc-c++ gcc-g77 OpenSSL openssl-develCommon Lib installation can refer to this article2. Compiling and installingFirst we need to download the source code of NET-SNMP,Official
MIBs extension of Net-snmp
MIBs extension of Net-snmp
1 Compiling and installing NET-SNMP
2 Writing MIB files
MIB File description
A simple example
3 Making a custom MIB file effective
RELATED links:SNMP Learning NotesUsing snmp4j to implement SNMP functions (i)Using snmp4j to implement SNMP functions (II.)Using snmp4j to implement SNMP functions (iii)
SNMP is the abbreviation of "Simple Network Management Protocol" in English,
Send Cisco commands via SNMPAn article by Fabio Semperboni Tutorial inShare136 Tweet
In the article "How to save configurations using SNMP", I has explained how to get the Cisco configuration using SNMP. Now, I explain how to send commands via SNMP
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.