#监控端dd
mysql -uroot -pcreate database zabbix character set utf8 collate utf8_bin;grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';flush privileges;zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix
vi /etc/zabbix/zabbix_server.conf
DBPassword=zabbixvi /etc/httpd/conf.d/zabbix.conf
Asia/Shanghai#vi /http/httpd.conf listen 3080systemctl restart zabbix-server zabbix-agent httpd
systemctl enable zabbix-server zabbix-agent httpdmysql -uroot -p -e'select * from zabbix.users\G'
查看mysql里zabbix的账户信息#测试
IP/zabbixAdmin zabbix--------------------------------------------------------------------------------#监控一台主机配置-主机-创建主机-模板-添加#客户端dd0
vi /etc/zabbix/zabbix_agentd.confserver=ddsystemctl restart zabbix-agentsystemctl enable zabbix-agent