Common methods to check system running status using SNMP

Source: Internet
Author: User
Tags get ip snmp snmpwalk what snmp

First, we will briefly introduce what SNMP is: The predecessor of Simple Network Management Protocol (SNMP) is the Simple gateway monitoring Protocol (SGMP), which is used to manage communication lines. Subsequently, SGMP was greatly modified. In particular, SMI and MIB compliant with Internet definitions were added: the improved protocol is the famous SNMP.

The goal of SNMP is to manage software and hardware platforms produced by many manufacturers on the Internet. Therefore, SNMP is greatly affected by the Internet standard network management framework. Now SNMP has been released to the third version, and its functions have been greatly enhanced and improved.

The snmp service is often used in routine monitoring, while the snmpwalk command is the most effective method to test the system information. Some common methods are summarized as follows:

1. snmpwalk-c public-v 1-m ALL 52.0.13.14. 1.3.6.1.2.1.25.1 obtain the number of system process users on windows. 2. snmpwalk-c public-v 1-m ALL 52.0.13.14. 1.3.6.1.2.1.25.2.2 obtain the total system memory. 3. snmpwalk-c public-v 1-m ALL 52.0.13.14 hrSystemNumUsers 4. snmpwalk-c public-v 1-m ALL 52.0.13.14. 1.3.6.1.2.1.4.20 obtain IP information 5. snmpwalk-v 2c-c public 52.0.13.14 system View system Information 6. snmpwalk-v 1 52.0.13.14-c public ifDescr

1. snmpwalk-v 2c-c public 52.0.13.14. 1.3.6.1.2.1.25.1 obtain the number of system process users on windows, among which-v indicates the version and-c indicates the key, that is, the client snmp. the following is the same as what is set in conf.

2. snmpwalk-v 2c-c public 52.0.13.14. 1.3.6.1.2.1.25.2.2 obtain the total system memory. 3. snmpwalk-v 2c-c public 52.0.13.14 hrSystemNumUsers obtain the number of system users. 4. snmpwalk-v 2c-c public 52.0.13.14. 1.3.6.1.2.1.4.20 get IP information 5. snmpwalk-v 2c-c public 52.0.13.14 system View system Information 6. snmpwalk-v 2c-c public 52.0.13.14 ifDescr get Nic Information

The above is just some common information, and there are many snmpwalk functions, you can obtain various information about the system, as long as you change the following information type. If you do not know the type, you can also leave it unspecified. In this way, all system information is obtained: snmpwalk-v 2c-c public 52.0.13.14

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.