Zabbix monitors Linux hosts based on snmp

Zabbix monitors Linux hosts based on snmp

Preface:

The Linux host is relatively easy to handle, whether it is installing the agent program or using SNMP, it is relatively convenient. This article aims to introduce how to connect the client and server through SNMP.

environment:

server:192.168.249.142

client:192.168.249.145

Basic configuration: turn off selinux, turn off the firewall or open port 161.

1. Basic configuration of snmp on the client side:

1. Install snmp (using Alibaba yum source):

[root@cinder snmp]# yum install net-snmp

2. Modify the community name in the configuration file as needed:

3. Start the snmp service:

2. Configuration of the server:

1. Add the Linux host:

2. Configure the community name:

3. Add templates as needed:

4. Add:

You can see that the green icon of snmp is on, which means that there is no problem with our operation and the server and client can interact normally. If the icon is not on, there may be a problem with the configuration of the community name if there is no problem with the network.

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • How to use ss command instead of netstat in Linux operation and maintenance
  • Detailed explanation of Linux ss command
  • Linux inter-process communication method socket usage example
  • The difference between non-blocking mode and blocking mode of Linux UDP socket
  • Linux network programming UDP Socket program example
  • Linux network programming socket file transfer example
  • Zabbix monitors the process of Linux system services
  • How to set up Zabbix to monitor Linux hosts
  • Detailed explanation of the implementation method of Linux monitoring important processes
  • Detailed explanation of Linux using ss command combined with zabbix to monitor socket

<<:  Summary of MySQL common functions

>>:  Even a novice can understand the difference between typeof and instanceof in js

Recommend

Organize the common knowledge points of CocosCreator

Table of contents 1. Scene loading 2. Find Node 1...

Page Speed ​​Optimization at a Glance

I believe that the Internet has become an increas...

Detailed explanation of tinyMCE usage and experience

Detailed explanation of tinyMCE usage initializat...

Detailed explanation of MySql data type tutorial examples

Table of contents 1. Brief Overview 2. Detailed e...

Summary of the dockerfile-maven-plugin usage guide

Table of contents pom configuration Setting.xml c...

Illustration-style website homepage design New trend in website design

You can see that their visual effects are very bea...

Teach you how to get the pointer position in javascript

The method of obtaining the position of the point...

A brief discussion on how to customize the host file in Docker

Table of contents 1. Command 2. docker-compose.ym...

A simple explanation of MySQL parallel replication

1. Background of Parallel Replication First of al...

Briefly describe the difference between MySQL and Oracle

1. Oracle is a large database while MySQL is a sm...

Take you to understand the event scheduler EVENT in MySQL

The event scheduler in MySQL, EVENT, is also call...