zabbix agentd windows安裝

來源:互聯網
上載者:User

標籤:

1、  下載與解壓

地址: http://www.zabbix.com/downloads/2.4.0/zabbix_agents_2.4.0.win.zip

解壓zabbix_agents_2.4.0.win.zip

conf目錄存放是agent設定檔 bin檔案存放windows下32位和64位安裝程式


2、  配置與安裝

2.1 配置zabbix agent相關配置。

   找到conf下的設定檔 zabbix_agentd.win.conf ,修改LogFile、Server、Hostname這三個參數。具體配置如下:

LogFile=c:\zabbix_agentd.log

Server=192.98.8.224

Hostname=f523540。

ServerActive=192.98.8.224 #zabbix server地址

其中logfile是zabbix日誌存放地址。Server 是zabbix服務端ip地址。Hostname是本機機器名。

2.2 安裝agent

在windows控制台下執行以下命令:

E:\zabbix\bin\win32\zabbix_agentd.exe  -c E:\zabbix\conf\zabbix_agentd.win.conf –i 

2.3 啟動agent用戶端

啟動命令如下:

E:\zabbix\bin\win32\zabbix_agentd.exe  -c E:\zabbix\conf\zabbix_agentd.win.conf –s

啟動的程式將以控制台的形式開啟。查看啟動的日誌:

  8732:20140912:162313.203 Starting Zabbix Agent [f523540]. Zabbix 2.4.0 (revision 48940).

  8732:20140912:162313.203 using configuration file: E:\zabbix\conf\zabbix_agentd.win.conf

  8732:20140912:162315.500 agent #0 started [main process]

  8820:20140912:162315.500 agent #1 started [collector]

  8392:20140912:162315.500 agent #2 started [listener #1]

  5552:20140912:162315.500 agent #3 started [listener #2]

  9712:20140912:162315.500 agent #4 started [listener #3]

  1096:20140912:162315.500 agent #5 started [active checks #1]

  1096:20140912:162316.500 active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127.0.0.1]:10051]: [0x0000274D] 由於目標機器積極拒絕,無法串連。)

  9368:20140912:163029.578 Starting Zabbix Agent [f523540]. Zabbix 2.4.0 (revision 48940).

  9368:20140912:163029.578 using configuration file: E:\zabbix\conf\zabbix_agentd.win.conf

根據日誌 發現有個127.0.0.1:10051無法串連,根據猜想,定是agent串連zabbix server,所以配置少了一個經查是ServerActive沒有配置。

部署安裝過程參考文檔:http://files.cnblogs.com/likehua/Zabbix_agent%E5%9C%A8windows%E4%B8%8A%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2.rar


zabbix agentd windows安裝

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.