Describe the basic concepts of the Linux SNMP protocol

Source: Internet
Author: User

We have already talked a lot about the concept of the SNMP protocol, in order to better apply this Protocol. Today, we will briefly introduce the content of the Linux SNMP protocol and how to manage and operate the SNMP protocol in Linux.

The Simple Network Management Protocol (Linux SNMP) is first proposed by the Internet Engineering Task Organization (IETF) research team to solve the router management problem on the Internet. We usually seldom call a database in a managed device a database. In terms of the Linux SNMP protocol, it is usually called the Management Information Library MIB ).

A mib describes the objects or table items contained in the database. Each object or table item has the following four attributes:

◆ Object Type)

◆ Syntax)

◆ Access)

◆ Status)

These attributes are defined in the management information structure and identity SMI in one of the Linux SNMP protocol specifications. RFC 1155/1065. SMI is equivalent to the schema for databases for MIB. SMI defines each object "what looks like ".

Object Type

This attribute defines the name of a specific object, such as sysUpTime. It is just a tag. When representing data, SMI uses ASN.1 (Abstract Syntax Notation One ). The object must be "identified ". For the Internet management MIB, the identifiers expressed in the ASN.1 notation start with the following:

Internet object identifier ::={ iso org (3) dod (6) 1}

Or use a simple format: 1.3.6.1

This is extracted from the ASN.1 document. It defines a tree format for the identifier. The tree is composed of a root and many labeled nodes connected to it. Each node is identified by a non-negative integer value and a text description as concise as possible. Each node may also have sub-nodes that are also marked.

When describing an OBJECT identifier object indentifier), you can use several formats. The simplest format is to list the integers found by traversing the tree from the root to the discussed OBJECT. Starting from the root level, there are three nodes:

◆ Ccitt (0)

◆ Iso (1)

◆ Joint-iso-cci

We will explain the knowledge about the Linux SNMP protocol this time.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.