zabbix安装小结

安装server

zabbix安装小结_第1张图片
image.png
dpkg --list | grep zabbix

apt-get --purge remove zabbix-agent -y
apt-get --purge remove zabbix-release -y

wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1%2Bbionic_all.deb
dpkg -i zabbix-release_5.0-1+bionic_all.deb
apt-get update
apt-get install -y zabbix-agent

#修改配置文件

service zabbix-agent restart
service zabbix-agent status
update-rc.d zabbix-agent enable


cat /etc/redhat-release
yum list installed | grep zabbix

yum remove zabbix-agent -y
yum remove zabbix-release -y


rpm -ivh  https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-agent-5.0.0-1.el7.x86_64.rpm
yum install zabbix-agent



Ubuntu版本查看:https://blog.csdn.net/qq_35608277/article/details/83188337

https://www.howtogeek.com/229699/how-to-uninstall-software-using-the-command-line-in-linux/#:~:text=Note%20the%20full%20name%20of%20the%20package.%20To,purge%E2%80%9D%20%28there%20are%20two%20dashes%20before%20%E2%80%9Cpurge%E2%80%9D%29%20command.

https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/


   
zabbix_get -s 192.168.43.43 -p 10050 -k "proc.num[utsclient.exe]"   



你可能感兴趣的:(zabbix安装小结)