zabbix发现主机的方法

客户端配置  

  客户端安装包

zabbix-agent-3.4.6-1.el6.x86_64.rpm
[root@server1 ~]# vim /etc/zabbix/zabbix_agentd.conf 
97 Server=172.25.12.10             #指向服务端
138 ServerActive=172.25.12.10    #指向服务端
149 Hostname=server1        #使用本机的hostname
[root@server1 ~]# /etc/init.d/zabbix-agent start
[root@server1 ~]# netstat -nutl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State      
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:10050               0.0.0.0:*                   LISTEN      
tcp        0      0 :::22                       :::*                        LISTEN      
tcp        0      0 ::1:25                      :::*                        LISTEN      
tcp        0      0 :::10050                    :::*                        LISTEN      

 (1)自动发现

 

 (2)创建主机

 

 

 

 (3)自动注册

 

 

猜你喜欢

转载自blog.csdn.net/u010489158/article/details/81737879
今日推荐