• Support Channels
    • Facebook Group
    • Youtube Channel
    • Github
    • Telegram
  • Events
  • Privacy
           
ITFORVN
  • Trang chủ
  • Training
  • Infrastructure
    • Hardware
    • Network
      • Cisco
      • HP
      • Low End
    • Clouds
      • Amazon
      • Google
      • Cloud App
      • VMWare
    • Virtualization
      • Hyper-V
      • Citrix
      • Azure
    • On-Premise
      • Linux
      • MAC
      • VoIP
      • Windows
  • Security
    • Application Security
    • APT
    • Client Security
      • Android
      • iOS
      • Linux OS
      • MAC
      • Windows OS
    • Database Security
    • End Point
    • Forensic
    • IDS/IPS
    • Proxy
    • SOC
    • Web Firewall
  • ITFORVN Docs
    • Series 802.1x
    • Series Backup Solution
    • Series MCSA
    • Series CCNA
    • Series MCAfee DLP
    • Series VMWare
  • IT Books & Tool
    • Free Tools
    • Paid Tools
  • About Us
  • Trang chủ
  • Training
  • Infrastructure
    • Hardware
    • Network
      • Cisco
      • HP
      • Low End
    • Clouds
      • Amazon
      • Google
      • Cloud App
      • VMWare
    • Virtualization
      • Hyper-V
      • Citrix
      • Azure
    • On-Premise
      • Linux
      • MAC
      • VoIP
      • Windows
  • Security
    • Application Security
    • APT
    • Client Security
      • Android
      • iOS
      • Linux OS
      • MAC
      • Windows OS
    • Database Security
    • End Point
    • Forensic
    • IDS/IPS
    • Proxy
    • SOC
    • Web Firewall
  • ITFORVN Docs
    • Series 802.1x
    • Series Backup Solution
    • Series MCSA
    • Series CCNA
    • Series MCAfee DLP
    • Series VMWare
  • IT Books & Tool
    • Free Tools
    • Paid Tools
  • About Us
           
ITFORVN
Trang chủ Infrastructure Hardware

Zabbix monitoring network 3: Cấu hình Add Host Windows

Le Kim Van Minh bởi Le Kim Van Minh
28/03/2021
trong Hardware, Infrastructure
0

3       Cấu hình Add Host Windows

3.1       Chuẩn bị

Theo mô hình, ta có hai host windows là BAOBOI-AD01 và BAOBOI-AD02. Ta sẽ cấu hình để Zabbixitforvn giám sát hai host windows trên. Hai host windows này phải chung lớp mạng vơi Zabbixitforvn và phải ping thông nhau.

Nếu bạn nào chưa biết mô hình thì có thể xem lại link ở bài trước tại đây.

3.2       Thực hiện

Tại server BAOBOI-AD01, sử dụng trình duyệt truy cập trang web của Zabbix và download Zabbix Agents for Windows ( All)

 

ITFORVN.COM zabbix-windows-1 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.1: Tải Zabbix Agent

Trong loạt bài hướng dẫn này , mình sử dụng agent version 3.4. Hiện tại, Zabbix đã update lên version 5.0. Các bạn có thể tham khảo thêm các version của zabbix tại đây.

Sau khi download hoàn tất, ta giải nén file Zabbix Agent for Windows (All) theo đường dẫn C:\zabbix

ITFORVN.COM zabbix-windows-2 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.2: Tải Zabbix Agent

Bật cửa sổ Command Prompt chạy với quyền Administrator, ta nhập câu lệnh để install dịch vụ Zabbix Agent:

C:\zabbix\bin\win64\zabbix_agents.exe –config c:\zabbix\conf\zabbix_agents.win.conf –install

Sau khi cài đặt, thông báo cài đặt thành công sẽ xuất hiện

ITFORVN.COM zabbix-windows-3 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.3: Thông báo cài đặt thành công Zabbix agent

Sau đó, mở file c:\zabbix\conf\zabbix_agents.win.conf và điều chỉnh một số thông số sau:

Server=10.0.1.198
ServerActive=10.0.1.198
Hostname=BAOBOI-AD01

Tiếp theo, sử dụng lệnh C:\zabbix\bin\win64\zabbix_agentd.exe  –start  để khởi động dịch vụ

ITFORVN.COM zabbix-windows-4 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.4: Khởi động dịch vụ Zabbix Agent

Để kiểm tra service Zabbix Agent, ta mở cửa Services và xem trạng thái của Zabbix Agent

ITFORVN.COM zabbix-windows-5 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.5: Dịch vụ Zabbix Agent

Cuối cùng, ta sẽ cấu hình cho allow firewall cho dịch vụ Zabbix Agent

Mở giao diện Windows Firewall và chọn All an app or feature through Window Firewall

ITFORVN.COM zabbix-windows-6 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.6: Allow App trong Firewall

Chọn Allow another app..

ITFORVN.COM zabbix-windows-7 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.7: Allow antoher app..

Trỏ đến file Zabbix_agentd.exe và nhấn Add

ITFORVN.COM zabbix-windows-8 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.8: Add Zabbix_agentd.exe

Tại giao diện Allow apps to communicate through Windows Firewalll, ta chọn Zabbix_agentd.exe và check vào mục domain, private, public. Sau đó, nhấn OK

ITFORVN.COM zabbix-windows-9 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.9: Check Allow apps through Windows Firewall

Sau đó, sử dụng trình duyệt web để truy cập địa chỉ của Zabbix Server http://10.0.1.198/zabbix.

Vào mục Configuration, chọn Host, nhấn Create Host

ITFORVN.COM zabbix-windows-10 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.10: Create Host

Tại cửa sổ Create Host, điền Host name, Visible Name.

Tùy theo loại Group mà ta chọn Group cho phù hợp. Ở đây, ta chọn Templates/Opreating Systems.

Tại mục Agent interface, điền địa chỉ IP của BAOBOI-AD01.

ITFORVN.COM zabbix-windows-11 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.11: Add Host Windows

 Tại tab Templates, ta sẽ chọn template dịch vụ sẽ được monitor phù hợp với host mà ta add, nhấn Select

ITFORVN.COM zabbix-windows-12 Zabbix monitoring network 3: Cấu hình Add Host Windows

            Hình 3.12: Add Template

Chọn Template OS Windows và nhấn Select

ITFORVN.COM zabbix-windows-13 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.13: Chọn Template

 

Nhấn Add và Add

ITFORVN.COM zabbix-windows-14 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.14: Add Template

 

Tương tự, ta cũng sẽ thực hiện như vậy với host BAOBOI-AD02.

Sau đó, ta vào phần Configuration, mục Host sẽ thấy được hai host BAOBOI-AD01 và BAOBOI-AD02 mà ta vừa add.

ITFORVN.COM zabbix-windows-15 Zabbix monitoring network 3: Cấu hình Add Host Windows

Hình 3.15: Cửa sổ Host Windows sau khi add Host

Bài trước

Zabbix monitoring network 2: Triển khai Zabbix Monitoring Server

Bài kế tiếp

Zabbix monitoring network 4: Cấu hình Add Host Centos

Le Kim Van Minh

Le Kim Van Minh

Bài viết liên quan

ITFORVN.COM Zabbix-logo-2-350x230 Zabbix monitoring network 3: Cấu hình Add Host Windows
Hardware

Zabbix monitoring network 6: Mail Alert

18/04/2021
ITFORVN.COM Zabbix-logo-2-350x230 Zabbix monitoring network 3: Cấu hình Add Host Windows
Hardware

Zabbix monitoring network 5: Cấu hình Add Network Device

11/04/2021
ITFORVN.COM Zabbix-logo-2-350x230 Zabbix monitoring network 3: Cấu hình Add Host Windows
Hardware

Zabbix monitoring network 4: Cấu hình Add Host Centos

18/04/2021
Bài kế tiếp
ITFORVN.COM Zabbix-logo-2-75x75 Zabbix monitoring network 3: Cấu hình Add Host Windows

Zabbix monitoring network 4: Cấu hình Add Host Centos

5 1 vote
Article Rating
Bạn có thể đăng nhập để phải hồi dễ dàng hơn
Subscribe
Connect with
Login
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
Notify of
guest
Connect with
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
guest
0 Comments
Inline Feedbacks
View all comments

Connect US

Facebook
Youtube
Telegram
Skype

Get new post

  • About US
  • Contact US
  • ITFORVN vBlog
  • Our Team
  • Our Missions
Design by ITFORVN.COM ®

Nghiêm cấm sao chép vì mục đích thương mại. Mọi sao chép từ ITFORVN.COM phải ghi rõ nguồn gốc.
DMCA.com Protection Status
  • Trang chủ
  • Training
  • Infrastructure
    • Hardware
    • Network
      • Cisco
      • HP
      • Low End
    • Clouds
      • Amazon
      • Google
      • Cloud App
      • VMWare
    • Virtualization
      • Hyper-V
      • Citrix
      • Azure
    • On-Premise
      • Linux
      • MAC
      • VoIP
      • Windows
  • Security
    • Application Security
    • APT
    • Client Security
      • Android
      • iOS
      • Linux OS
      • MAC
      • Windows OS
    • Database Security
    • End Point
    • Forensic
    • IDS/IPS
    • Proxy
    • SOC
    • Web Firewall
  • ITFORVN Docs
    • Series 802.1x
    • Series Backup Solution
    • Series MCSA
    • Series CCNA
    • Series MCAfee DLP
    • Series VMWare
  • IT Books & Tool
    • Free Tools
    • Paid Tools
  • About Us

© 2021 JNews - Premium WordPress news & magazine theme by Jegtheme.

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply