Simple Network Management Protocol (SNMP), consisting of a set of standards for network management, comprising an application-layer protocol (Application layer protocol), a database model (DB Schema), and a set of resource objects. The following and 111CN Small series look at the CENTOS6 system SNMP monitoring installation configuration and use.
Install NET-SNMP
After learning the SNMP protocol, we then perform an instance operation on the UCD-SNMP software. So we have already talked about some basic content about this software. The following network management program will be analyzed in detail.
A simple SNMP Network Management Program
Next, let's first use ucd-snmp to write
In some current network architectures, we often use multiple protocols in combination. Next we will talk about the GPON Technology Based on the SNMP protocol. It may seem strange at first. It doesn't matter. Let's first take a look at the characteristics of this technology, and then analyze the protocol functions of this technology.
GPON technology is the latest generation of Broadband Passive Optical Integrated Access Technology Based on ITU-TG.984.x
An SNMP packet consists of three parts: version field), region-specific community field) and SNMP protocol data unit field (SNMP protocol data unit field). The packet length is not fixed.
The SNMP protocol also defines the SNMP message stream when the above three
= (ipl_t *) * my_data_context;
Switch (Entry-> rowstatus)
Different operations are differentiated based on the Entry-> rowstatus type.
Get_xxx (void * data_context, size_t * ret_len)
Get node data content
Set_xxx (void * data_context, long * val, size_t val_len)
Set node content
C) trap Function
There are two methods to send the trap: one is to use SNMPTRAP in the script, and the other is to use the function to send the trap in the program. Sending function: send_xxxtrap_trap ().
You need to
to manage a process to obtain information from a proxy process.
Example: snmpget-C public localhost system. sysdescr.0
System. sysdescr.0 = unknown
-C indicates the community string.
2. snmpgetnext
3. snmpset
4. SNMPTRAP
5. snmpwalk
6. snmptranslate
Iii. SNMP Architecture
1. Application requirements that the architecture can meet
(1) only use the command responder and notification Gen
30.10SNMP Message Format Unlike most TCP/IP protocols, SNMP messages does not have a fixed fields. Instead, they use the standard ASN.1 encoding. Thus, a message can be difficult for humans to decode and understand. After examining the SNMP message definition in ASN.1 notation, we'll review the ASN.L encoding scheme briefly, and see a n example of an encoded
: = begin imports object-GROUP, MODULE-COMPLIANCE, NOTIFICATION-group from SNMPv2-CONF enterprises, Integer32, Unsigned32, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-type from SNMPv2-SMI DisplayString FROM SNMPv2-TC; Test MODULE-identity last-UPDATED "201601221450Z" -- ORGANIZATION "" CONTACT-INFO "" DESCRIPTION "Video's Server MIB must end with Z. ": = {consumer I Ses 745352} Time object identifier: = {Test 1} GetTime OBJECT-type syntax DisplayString MAX-ACCESS read-only STATUS current DESCRIPT
First, install SNMP1.1, download the source code of NET-SNMPSelect an SNMP version, such as 5.7.1, as follows: HTTP://SOURCEFORGE.NET/PROJECTS/NET-SNMP/FILES/NET-SNMP/5.7.1/, as shown in: After the download is complete, get a compressed package as shown 1.2. Transfer the compressed package to a remote Linux serverTransfer compressed packets to a remote Linux
service is not running or cannot be added.Note that the "rocommunity" here means that this is a read-only access, and that other clients can only get information from your server and not any settings on the server.The "Yjken" is the equivalent of a password, and many platforms prefer to use the default string "public". Here the "Yjken" is just an example, you can set other strings as passwords.The rightmost "127.0.0.1,192.168.0.230" represents the sp
Search on the Internet a lot of Ubuntu under the installation method of SNMP, the results can not be used, the following is a summary of their methods, for reference only ~1.Installation sudo-i apt-get Install snmpd SNMP2. The configuration file will be/etc/snmp/snmpd.conf and renamed to/ETC/SNMP/SNMPD.CONF.ORG:MV/ETC/SNMP
the SNMP service with Red Hat Enterprise Linux 5 update 8 (Rhel 5u8), the latest corporate operating system. A RPM package called NET-SNMP is provided in Rhel 5u8, and Net-snmp is a set of programs that perform SNMP IPv6 and v1,v2 version agreements on IPv4 and v3. Specifically, because the stable version of the Red H
Rotten mud: ESXI enables the SNMP service, and esxi enables snmp
This article was sponsored by Xiuyi linfeng and first launched in the dark world.
To monitor ESXI, we plan to monitor it through snmp, which is relatively simple. However, to use SNMP for monitoring, you must enable the esxi
The version of SNMP used here is net-snmp-5.7.3:http://www.net-snmp.org/download.htmlInstallation steps:1. Unzip the installation package:TAR-XZVF net-snmp-5.7.3.tar.gz2. Generate the compilation rule by configure:is with the command:CD net-snmp-5.7.3Enter the net-snmp-5.7.3
Centos 6.5 SNMP Client Installation and configurationSNMP version: net-snmp-5.7.3.tar.gz1. Download the SoftwareCd/usr/local/srcYum-y Install GCCwget http://nchc.dl.sourceforge.net/project/net-snmp/net-snmp/5.7.3/net-snmp-5.7.3.tar.gz2. Unzip the build installationTAR-ZXVF n
Android implements the snmp protocol (1) and android implements the snmp protocolEarly January 2015. I received a call from a Huawei instructor and asked me to help me develop an App they would use at the Beijing Exhibition, this App can display the running status of Huawei's network devices and set some simple parameters, including AP, LSW, AP and AR.The Huawei instructor told me that they managed the prot
1. Concepts
SNMP is a standard protocol used to manage network nodes (servers, workstations, routers, switches, and HUBS) in an IP network. It is an application layer protocol. SNMP enables network administrators to manage network performance, discover and solve network problems, and plan network growth. The Network Management System receives random messages (and event reports) through
Analyze the SNMP-agent method in the snmp of the Huawei switch. Let's talk about how to configure the snmp of the Huawei switch with specific code. The snmp-agent methods of the following Huawei switches are carefully selected and answered by professionals after tests, make sure you understand the usage of the
First, install SNMPLet's talk about it today. To install and configure SNMP in WinServer2003, proceed as follows:Find "Control Panel" → "Add or Remove Programs" Second, configure SNMPWindowsServer2003 after installing SNMP, some simple configuration is required.2.1. Configure "Accepted community name"The configuration steps are as follows:"My Computer" → "manage" as shown in: Locate the service th
Tags: top accept ACK Back add user cannot ref tar parameterLinux SNMPThe following example uses the SUSE10 Linux environment, but it also applies to other Linux distributions.Compiling and installingFirst we need to download NET-SNMP source code, choose a version, such as 5.7.1, the address is as follows:Http://sourceforge.net/projects/net-snmp/files/net-
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.