Skip to main content

Command Palette

Search for a command to run...

How to Monitor VCenter With Zabbix

Published
2 min readView as Markdown
How to Monitor VCenter With Zabbix
P

I have over 6 years of experience in IT industry related to Systems and Network. I have been managing data centers with a focus on both on-premise and cloud servers.

အားလုံးပဲ မင်္ဂလာပါ။ ဒီနေ့ ပြောပြပေးသွားပေးမဲ့အကြောင်းအရာက ကျွန်တော်တို့ရဲ့ Vcenter ကို Zabbix အသုံးပြုပြီး Monitoring ဘယ်လိုလုပ်ရမလဲဆိုတာ ပြောပြပေးသွားမှာပဲဖြစ်ပါတယ်။

ပထမဦးဆုံး Zabbix ကို Download & Install လုပ်ထားရပါမယ်။

Install လုပ်ပြီးရင်တော့ ကျွန်တော်တို့ စပြီး Config ချလို့ရပါပြီ။

Configure Zabbix server

  1. Open Zabbix server configuration file
vi /etc/zabbix/zabbix_server.conf
  1. Change StartVMwaeCollectors parameter

     ### Option: StartVMwareCollectors
            #       Number of pre-forked vmware collector instances.
            #
            # Mandatory: no
            # Range: 0-250
            # Default:
            # StartVMwareCollectors=0
    
            StartVMwareCollectors=2
    
  2. Restart Zabbix Server.

     systemctl restart zabbix-server
    

Configure Zabbix Frontend

  1. Login to Zabbix

  2. Create Host in Zabbix.

    In the Host name field, enter a host name (for example, "VMware environment").

    In the Templates field, type or select the "VMware FQDN" (or "VMware") template.

    In the Host groups field, type or select a host group (for example, a new host group "VMware").

    • In the Macros tab, set the following host macros:

      {$VMWARE.URL} - VMware service (vCenter or ESXi hypervisor) SDK URL (https://servername/sdk)

      {$VMWARE.USERNAME} - VMware service user name

      {$VMWARE.PASSWORD} - VMware service {$VMWARE.USERNAME} user password

  3. Click Add to create host.


View collected metrics

Zabbix is already monitoring your VCenter.

To View Create Host, navigate to Data Collection » Hosts

To View Collected Metrics, navigate to Monitoring » Hosts


အခုဆိုရင်တော့ Zabbix ကို အသုံးပြုပြီး ကိုယ့်ရဲ့ VCenter ကို Monitor လုပ်လို့ရပြီပဲဖြစ်ပါတယ်။

အဆင်ပြေကျမယ်လို့ မျှော်လင့်ပါတယ် ။ အားလုံးပဲ အချိန်ပေးပြီး ဖတ်ရှုပေးတဲ့အတွက်လဲ ကျေးဇူးတင်ပါတယ် ခင်ဗျ ။

Author By PoneMyat

More from this blog

Application Deployment on AWS with Infrastructure as Code: Terragrunt, Atlantis & AWX - Part 1

Infrastructure-as-Code (IaC) ကို စတင်အသုံးပြုတဲ့အခါ Terraform က လူသုံးများတဲ့ ရွေးချယ်မှုတစ်ခုဖြစ်ပါတယ်။ Project နဲ့ Infrastructure အရွယ်အစား မကြီးသေးတဲ့အချိန်မှာ Terraform တစ်ခုတည်းနဲ့ Infrastructure

Aug 17, 20264 min read39
Application Deployment on AWS with Infrastructure as Code: Terragrunt, Atlantis & AWX - Part 1
V

Vital Tech Blog

26 posts