Zabbix-server-monitor yourself

# 1. Download and install, configure agent

[root@zabbix-server ~]# vim /etc/zabbix/zabbix_agentd.conf      # 配置agent,添加并修改
EnableRemoteCommands=1    允许远程命令
LogRemoteCommands=1    记录远程命令
Server=127.0.0.1
ServerActive=127.0.0.1
Hostname=zabbix-server

[root@zabbix-server ~]# systemctl start zabbix-agent

# 2, Automatically generate the host
configuration of Zabbix server -host
[External link image transfer failed, the source site may have an anti-theft chain mechanism, it is recommended to save the image and upload it directly (img-7qUITSE0-1585730976883) (https: // upload-images .jianshu.io / upload_images / 21294643-fa6437f82a5b024b.png? imageMogr2 / auto-orient / strip% 7CimageView2 / 2 / w / 1240)]

# 三 、 Add a template in the host
Configuration-host-zabbix-server-template-select Template DB MYsql ----- add ----- update
[External link image transfer failed, the source site may have an anti-theft chain mechanism, It is recommended to save the image and upload it directly (img-yd70Tgbq-1585730976885) (https://upload-images.jianshu.io/upload_images/21294643-d703b7ac24dbb2ec.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240 )]

[External chain image transfer failed, the source site may have an anti-theft chain mechanism, it is recommended to save the image and upload it directly (img-Vk8w22Wu-1585730976885) (https://upload-images.jianshu.io/upload_images/21294643-330dfa357fdb09aa.png ? imageMogr2 / auto-orient / strip% 7CimageView2 / 2 / w / 1240)]

# 四 、 Enable Zabbix server
[External chain image transfer failed, the source site may have an anti-theft chain mechanism, it is recommended to save the image and upload it directly (img-kM9mpF3d-1585730976885) (https://upload-images.jianshu.io/upload_images /21294643-e10267b67ba30dfa.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)]

# 五 、 Monitored data
[External chain image transfer failed, the source site may have an anti-theft chain mechanism, it is recommended to save the image and upload it directly (img-ahj64T8Z-1585730976885) (https://upload-images.jianshu.io/upload_images /21294643-6c26e97c8260860a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)]

Published 92 original articles · praised 0 · visits 1427

Guess you like

Origin blog.csdn.net/Forgetfanhua/article/details/105249763