Ad Widget

Collapse

Support for VMware checks was not compiled in zabbix 3.0.7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vsimoes
    Junior Member
    • Apr 2016
    • 8

    #1

    Support for VMware checks was not compiled in zabbix 3.0.7

    I recently deployed Zabbix 3.0.7 and i am facing an issue when trying to monitor VMWare ESXi 5.5 hosts through SNMP.

    "Support for VMware checks was not compiled in."

    This happens for some itens, like CPU Usage and others, but the datastore free space for example is working just fine.

    I am using Zabbix VMWare built-in template.

    Check this image
  • glebs.ivanovskis
    Senior Member
    • Jul 2015
    • 237

    #2
    Have you compiled Zabbix yourself or installed from packages?

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      If you installed from the source, did you specify the option(--with-libcurl and --with-libxml2) when running configure?

      It can be confirmed in the log when starting Zabbix server.
      If it is a Zabbix server that can be monitored by VMware, the following log will be output.

      Code:
        2898:20170220:095155.111 VMware monitoring:         YES
      Make sure to set StartVMwareCollectors in zabbix_sever.conf even if it is YES.

      And, The Template Virt VMware will then use VMware's service interface instead of SNMP.

      Comment

      • vsimoes
        Junior Member
        • Apr 2016
        • 8

        #4
        Rpm

        Originally posted by glebs.ivanovskis
        Have you compiled Zabbix yourself or installed from packages?
        Hello brother, i did used this RPM:

        rpm -ivh http://repo.zabbix.com/zabbix/3.0/rh...el7.noarch.rpm

        Comment

        • vsimoes
          Junior Member
          • Apr 2016
          • 8

          #5
          Check this out

          Originally posted by Atsushi
          If you installed from the source, did you specify the option(--with-libcurl and --with-libxml2) when running configure?
          I used this RPM, i did not specify anything:

          rpm -ivh http://repo.zabbix.com/zabbix/3.0/rh...el7.noarch.rpm

          Originally posted by Atsushi
          It can be confirmed in the log when starting Zabbix server.
          If it is a Zabbix server that can be monitored by VMware, the following log will be output.
          Code:
            2898:20170220:095155.111 VMware monitoring:         YES
          Ok, there is the log:

          ****** Enabled features ******
          808:20170301:161403.733 SNMP monitoring: YES
          808:20170301:161403.733 IPMI monitoring: YES
          808:20170301:161403.733 Web monitoring: YES
          808:20170301:161403.733 VMware monitoring: YES
          808:20170301:161403.733 SMTP authentication: YES
          808:20170301:161403.733 Jabber notifications: YES
          808:20170301:161403.733 Ez Texting notifications: YES
          808:20170301:161403.733 ODBC: YES
          808:20170301:161403.733 SSH2 support: YES
          808:20170301:161403.733 IPv6 support: YES
          808:20170301:161403.733 TLS support: YES
          808:20170301:161403.733 ******************************

          Originally posted by Atsushi
          Make sure to set StartVMwareCollectors in zabbix_sever.conf even if it is YES.
          Here is the server.conf (vmware lines)

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

          ### Option: VMwareFrequency
          # How often Zabbix will connect to VMware service to obtain a new data.
          #
          # Mandatory: no
          # Range: 10-86400
          # Default:
          VMwareFrequency=10

          ### Option: VMwarePerfFrequency
          # How often Zabbix will connect to VMware service to obtain performance data.
          #
          # Mandatory: no
          # Range: 10-86400
          # Default:
          VMwarePerfFrequency=15



          Originally posted by Atsushi
          And, The Template Virt VMware will then use VMware's service interface instead of SNMP.
          I am using SNMP set on host configuration, it might be the problem?

          Check the image: http://imgur.com/a/3eDoj

          I am gonna try this!
          Last edited by vsimoes; 01-03-2017, 18:28. Reason: ajusting text

          Comment

          • vsimoes
            Junior Member
            • Apr 2016
            • 8

            #6
            Proxy maybe?

            Guys, something i forgot to share: I am using PFSense Proxy and in the proxy i got the following log message:

            **** Enabled features ****
            31698:20170301:140849.115 SNMP monitoring: YES
            31698:20170301:140849.115 IPMI monitoring: NO
            31698:20170301:140849.115 Web monitoring: YES
            31698:20170301:140849.115 VMware monitoring: NO
            31698:20170301:140849.115 ODBC: YES
            31698:20170301:140849.115 SSH2 support: NO
            31698:20170301:140849.115 IPv6 support: YES
            31698:20170301:140849.115 TLS support: YES
            31698:20170301:140849.115 **************************

            The problem might be the proxy that do not support vmware monitoring? The thing is, does PFSense Zabbix Proxy support it at all?

            Comment

            • Atsushi
              Senior Member
              • Aug 2013
              • 2028

              #7
              If you are monitoring via that Proxy, I think that you can not monitoring of VMware.

              Comment

              • vsimoes
                Junior Member
                • Apr 2016
                • 8

                #8
                Conclusion

                All right, after a long and deep research i could find the following conclusion:

                We cannot use PFSense as proxy if you have VMWare, their current proxy package does not support vmware, so the solution i found was to have a centos dedicated proxy for vmware hosts.

                Comment

                Working...