zabbix windows angent安裝:

來源:互聯網
上載者:User

標籤:

zabbix windows angent安裝:
1、下載zabbix agent for windows用戶端,直接解壓到C盤下。
C:\zabbix 的目錄
015/04/21 11:16 <DIR> .
015/04/21 11:16 <DIR> ..
015/04/21 11:16 <DIR> bin
015/04/23 15:42 <DIR> conf

2、修改zabbix agent相關配置。
找到conf下的設定檔 zabbix_agentd.win.conf(去掉.win),修改LogFile、Server、Hostname這三個參數。具體配置如下:
LogFile=c:\zabbix_agentd.log #記錄檔名及路徑
Server=192.98.8.224
Hostname=本地機器地址
ServerActive=192.98.8.224 #zabbix server地址

3、註冊並啟動zabbix agent服務
運行cmd進入windows命令列控制台
運行c:\zabbix\zabbix_agentd.exe -c c:\zabbix\zabbix_agentd.conf -i
註:-c表示設定檔路徑 -i表示安裝
也可以進入到C:\zabbix\bin\win64這個目錄下(如果是32位,則進入win32目錄),執行如下命令:

C:\zabbix\bin\win64>zabbix_agentd.exe -c c:\zabbix\conf\zabbix_agentd.conf -izabbix_agentd.exe [2640]: service [Zabbix Agent] installed successfullyzabbix_agentd.exe [2640]: event source [Zabbix Agent] installed successfully --服務註冊成功。C:\zabbix\bin\win64>zabbix_agentd.exe -c c:\zabbix\conf\zabbix_agentd.conf -s --啟動服務zabbix_agentd.exe [11308]: service [Zabbix Agent] started successfully C:\zabbix\bin\win64>zabbix_agentd.exe -c c:\zabbix\conf\zabbix_agentd.conf -d --卸載zabbix_agent服務zabbix_agentd.exe [8312]: service [Zabbix Agent] uninstalled successfullyzabbix_agentd.exe [8312]: event source [Zabbix Agent] uninstalled successfully

4、其它
在CMD命令列運行services.msc進入windows服務控制台,找到zabbix_agent服務,右鍵亦可啟停該服務
必須使用本地administrator帳號登入windows主機,才能註冊並正常啟動服務。使用網域系統管理員帳號也不行,註冊成功後,啟動zabbix_agent用戶端報錯。

服務啟動後,測試連通性。
telnet serverIP 10050 --用戶端使用10050連接埠
同時從zabbix伺服器telnet用戶端也是聯通的。

zabbix windows angent安裝:

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.