Skip to main content

Command Palette

Search for a command to run...

How to Monitor VCenter With Zabbix

Published
2 min read
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

Why need to associate IAM OIDC Provider for Amazon EKS Cluster?

Amazon EKS cluster မှာ OpenID Connect (OIDC) provider ကို associate လုပ်ရခြင်းရဲ့ အဓိကအကြောင်းရင်းကတော့ Security နဲ့ Access Control ကို ပိုမိုကောင်းမွန်အောင်ပြုလုပ်နိုင်ဖို့ဖြစ်ပါတယ်။ အဓိကအားဖြင့် အချက် (၂) ချက်ရှိပါတယ်။ To use IAM Roles for Service...

Oct 10, 20252 min read37
V

Vital Tech Blog

25 posts