In the network communication protocol, we emphasize the use of SNMP because the network management protocol is used as an administrator. Therefore, let's talk about this knowledge.
SNMP protocol Basics
The essence of SNMP is a proxy-based announcement system. Every device, or even many low-end switches and printers, supports this proxy-based announcement, "is generated by the agent function developed by the device manufacturer. The listening software can monitor special events of the system, such as some special events in the event log, then, send the announcement to the SNMP processor or other network management tools 。
SNMP can be seen as one of the many network Management frameworks with similar functions. Such Management frameworks include Microsoft Windows Management Instrumentation (WMI), Web Based Enterprise Management (WEBM), and Common Information Mode (CIM) CIM has been developed into a complete object model, using DMTF and using UML language 。
SNMP protocol in Windows or Linux
Microsoft is fully compatible with the CIM model in WMI. For example, in Vista, Windows 7, or Server 2008, open the command line window and enter the following command:
Winrm enumerate wmicimv2/Win32_ComputerSystem
This command displays the basic hardware information of the computer system, such as the name of the motherboard vendor. It also includes the domain member name, management account and password status, server role, current user name, Host Name, WMI allows you to understand system information. Figure A shows an SNMP-enabled chart. Similar monitoring functions also exist in Linux. For example, the free WebNMS provides a set of snmp proxy functions and provides HTTP-based management 。
Figure