Ad Widget

Collapse

How to monitor VMware VMs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • C2c
    Junior Member
    • Sep 2015
    • 12

    #1

    How to monitor VMware VMs

    Hello All,

    I have setup Zabbix infrastructure (Proxy at remote location) and added one VM host for monitoring and it is working. I am new to Zabbix and trying to add more VMware based VMs.

    I have added vCenter server has host to monitor all the VMs for that vCenter. But it did not work. Nothing is populating under Monitoring-> latest data


    My questions are: -


    1. Is it ok if , I just add vCenter host as mentioned on this page https://www.zabbix.com/documentation.../vm_monitoring under "Host Configuration" ? and Zabbix will start monitoring all VMs controlled by that vCenter?

    2. Or I have to add discovery rules as well. ? In the beginning, I just want to monitor VMs not Esxi hosts or DataStore etc


    If I am not doing right . Please point to to doc where i can get simple explaination to add vCenter to monitor all the VMs for that vCenter


    Thanks
  • C2c
    Junior Member
    • Sep 2015
    • 12

    #2
    Hi

    Any body has any doc, or link to web page, that can guide to monitor VMs in VMWare vCenter by automating/auto discovery process?
    Last edited by C2c; 15-10-2015, 18:48. Reason: added question mark at end

    Comment

    • C2c
      Junior Member
      • Sep 2015
      • 12

      #3
      And it is all good.

      Here is the procedure if any body new, trying to achieve same.



      1. Set the following parameters on Zabbix Proxy (on Server in case you are NOT using proxy)

      Code:
      StartVMwareCollectors=1
      VMwareCacheSize=8M
      VMwareFrequency=60
      2. Then add vCenter as host on Zabbix WEB UI
      3. Do host configuration as mention on this page https://www.zabbix.com/documentation.../vm_monitoring
      Under host configuration and all done

      Comment

      • jstefano
        Member
        • Sep 2015
        • 30

        #4
        How to add single ESXi host to Zabbix server for monitoring?

        Hi Zabbix Gurus!

        Trying to add single ESXi host to Zabbix server for monitoring, but so far no luck.
        Cant' find the correct way.
        I've added an empty server in Configuration -> hosts
        I've enabled VMware part in /etc/zabbix/zabbix_server.conf

        StartVMwareCollectors=1
        VMwareCacheSize=8M
        VMwareFrequency=60

        restarted service, but no luck

        appreciate any help!!!

        Jan

        Comment

        • C2c
          Junior Member
          • Sep 2015
          • 12

          #5
          I am also very new to Zabbix, Just found the way to get discovery of VMs form vCneter, but spent last 3-4 days to found how to setup triggers for these discovered VMs. Still no Luck, E.g no idea how to setup trigger to check "CPU Usage in percentage" on a VM. I just want to setup triggers for VMs those are discovered via vCenter. There is not clear doc that says in simple steps. May be i am doing something wrong. Could not found yet.

          Ok so for this specific issue, I had added vCenter not Esxi host. But i Would say please check the following

          1. you said you restarted the service. (Did you check even if it is restarted successfully?
          2. Please check Zabbix server logs what it say about error
          3. Check basic connectivity of Zabbix server with Esxi host, including firewall ports, Selinux on zabbix server.


          Hope this help

          Comment

          Working...