Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux Snmp Network Management Protocol

2025-03-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

The next few articles are mainly about Linux server monitoring, network management and email alarm some brief introduction, because not Linux operation and maintenance background, here is just a hobby learning summary, hope to help yourself.

I. the concept of network management

1. A general term for the activities necessary to supervise, organize and control network communication services and information processing.

2. A technology that uses a variety of applications, tools and devices to monitor and maintain the operation of the network.

The console program monitors and collects data from managed devices, and then processes the data, such as drawing, to monitor behavior.

Managed device network management workstation MIB dataset console program

II. SNMP protocol

1. Polling (Polling) and interruption (Interrupe)

Among them, the access data of the control program is called polling, and when the managed device has a problem, it actively sends a report to the control program called interrupt.

2. Common network management software

Network management software company explains that sitescopeHP is compatible with cross-platform and suitable for network management of large enterprises.

NetviewIBM can be used not only as a cross-platform system, but also as a development platform for large-scale enterprises.

Mrtg open source software is a tool software for monitoring network link traffic load, and the device traffic information is obtained through snmp protocol.

Cacti Open Source Software A set of graphical analysis tools for network traffic monitoring based on PHP, MYSQL, SNMP and RRDTool

SolarwindsSolarwinds includes a combination of network automatic discovery, fault discovery and performance monitoring software.

WhatsUpIPswitch provides monitoring and warning of network service status, SNMP data, windows and syslog events

Third, install snmp

1. Install snmp software package

Yum-yinstallnet-snmp*

2. Edit the snmp configuration file

Vim/etc/snmp/snmp.conf

Access notConfigGroup "" any noauth exact all none noneview all included. 1 80recommunity public 192.168.10.1

3. Start the service

Servicesnmpdrestart

4. Commonly used systemoid

# linux system load # 1 minute system load. 1.3.6.1.4.1.2021.10.1.5.1 # 15 minute system load. 1.3.6.1.4.1.2021.10.1.5.3 # linux cpu usage and idle # cpu utilization. 1.3.6.1.4.1.2021.10.11.50.0 # cpu idle rate. 1.3.6.1.4.4.1.2021 .10.11.53.0 # Monitoring hard disk space # root partition oid.1.3.6.1.4.1.2021.9.1.8.1#boot partition. 1.3.6.1.4.1.2021.9.1.8.2 # TCP connections. 1.3.6.1.2.1.6.9.0 # Monitoring memory usage # memory usage .1.3.6.1.2.1.25. 2.2.1.6.2#swap usage .1.3.6.1.2.1.25.2.1.6.3 # Monitoring system processes .1.3.6.1.1.25.1.6.0 # more parameters can be found in the official

Fifth, snmp common commands

# View all the oid of the system and the oid name snmpwalk-v1-cpublic localhost-m all# view the description of the oid snmpptranslate-Td .1.3.6.1.4.1.2021.9.1.8.1 # View a single oidsnmpptranslate-T1 .1.3.6.1.1.2021.9.1.8.1 # View the full name of the entire oid snmpptranslate-Of .1.3.6.1. 4.1.2021.9.1.8.8 View the name and value of the oid snmpget-v1 cpublic localhost .1.3.6.1.4.1.2021.9.1.8.1

These contents are mainly to be combined with the next article to talk about mrtg to achieve monitoring.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report