Ad Widget

Collapse

Vmbix question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ronald
    Junior Member
    • Jun 2012
    • 8

    #1

    Vmbix question

    Hello All,

    I just installed vmbix following:


    Install is done without errors. I need help by the final step.
    It is on Ubuntu 12 en zabbix 2.0.5
    All triggers seem to answer zero (0)
    root@zabbix:/etc/init.d# zabbix_get -s localhost -p 12050 -k esx.cpu.load[vcenter.myhost.com,used]
    0

    The /var/log/syslog has the following errors:
    Apr 4 17:24:35 zabbix vmbixd: creating pid file /var/run/vmbixd.pid 12669
    Apr 4 17:24:36 zabbix vmbixd: Connected to https://vcenter.myhost.com/sdk, time taken:743ms
    Apr 4 17:24:36 zabbix vmbixd: starting server on port
    Apr 4 17:24:36 zabbix vmbixd: port opened, server started
    Apr 4 17:24:43 zabbix vmbixd: thread created, collecting data in 1 threads
    Apr 4 17:24:43 zabbix vmbixd: No host named 'vcenter.myhost.com' found
    Apr 4 17:24:45 zabbix vmbixd: thread closed, collecting data in 0 threads
    Apr 4 17:25:06 zabbix vmbixd: thread created, collecting data in 1 threads
    Apr 4 17:25:06 zabbix vmbixd: No host named 'vcenter.myhost.com' found

    I replaced the real name for myhost by security issues.
    The real logging contains the real fqdn
    Why is the sdk connection ok ?
    and why is the host not found.
    Has anyone vmbix running on zabbix ?
    I tested all templates, but none seem to be working fine.

    Can anyone help me to solve this issue ?
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    usually in Zabbix, "Host not found" means that there is no match to what is in the zabbix_agentd.conf file (Hostname= ) on your host, to what is entered for the host name in the Zabbix front end.

    I have never looked at vmbix though, so I don't know how that will correspond.
    As an FYI, the Hostname= value is case sensitive and must be an exact match to the name in the front end.

    Comment

    • Kryol
      Member
      • Feb 2011
      • 70

      #3
      Originally posted by Ronald
      Hello All,

      I just installed vmbix following:


      Install is done without errors. I need help by the final step.
      It is on Ubuntu 12 en zabbix 2.0.5
      All triggers seem to answer zero (0)
      root@zabbix:/etc/init.d# zabbix_get -s localhost -p 12050 -k esx.cpu.load[vcenter.myhost.com,used]
      0

      The /var/log/syslog has the following errors:
      Apr 4 17:24:35 zabbix vmbixd: creating pid file /var/run/vmbixd.pid 12669
      Apr 4 17:24:36 zabbix vmbixd: Connected to https://vcenter.myhost.com/sdk, time taken:743ms
      Apr 4 17:24:36 zabbix vmbixd: starting server on port
      Apr 4 17:24:36 zabbix vmbixd: port opened, server started
      Apr 4 17:24:43 zabbix vmbixd: thread created, collecting data in 1 threads
      Apr 4 17:24:43 zabbix vmbixd: No host named 'vcenter.myhost.com' found
      Apr 4 17:24:45 zabbix vmbixd: thread closed, collecting data in 0 threads
      Apr 4 17:25:06 zabbix vmbixd: thread created, collecting data in 1 threads
      Apr 4 17:25:06 zabbix vmbixd: No host named 'vcenter.myhost.com' found

      I replaced the real name for myhost by security issues.
      The real logging contains the real fqdn
      Why is the sdk connection ok ?
      and why is the host not found.
      Has anyone vmbix running on zabbix ?
      I tested all templates, but none seem to be working fine.

      Can anyone help me to solve this issue ?
      What is the name of your host on vcenter? Is it identical to it's dns name?

      Comment

      • Ronald
        Junior Member
        • Jun 2012
        • 8

        #4
        Originally posted by Kryol
        What is the name of your host on vcenter? Is it identical to it's dns name?

        Hello Kryol,

        vcenter.myhost.com resolves to the right ip address of the vcenter.
        The connection is working.
        But the vcenter does not seems to send data.
        The zabbix host name is also vcenter.myhost.com.
        Any idea ?

        Comment

        • Kryol
          Member
          • Feb 2011
          • 70

          #5
          Originally posted by Ronald
          Hello Kryol,

          vcenter.myhost.com resolves to the right ip address of the vcenter.
          The connection is working.
          But the vcenter does not seems to send data.
          The zabbix host name is also vcenter.myhost.com.
          Any idea ?
          As I understand the item above, esx.cpu.load, is for ESX host. But you try to get it for Vcenter server.

          Comment

          • Ronald
            Junior Member
            • Jun 2012
            • 8

            #6
            Problem solved

            Thanks,

            In the configurations of the host I used the IP address of the vmware server.
            This works.

            Comment

            • Kryol
              Member
              • Feb 2011
              • 70

              #7
              From your first post:
              root@zabbix:/etc/init.d# zabbix_get -s localhost -p 12050 -k esx.cpu.load[vcenter.myhost.com,used]
              0

              The /var/log/syslog has the following errors:
              Apr 4 17:24:35 zabbix vmbixd: creating pid file /var/run/vmbixd.pid 12669
              Apr 4 17:24:36 zabbix vmbixd: Connected to https://vcenter.myhost.com/sdk, time taken:743ms
              Apr 4 17:24:36 zabbix vmbixd: starting server on port
              Apr 4 17:24:36 zabbix vmbixd: port opened, server started
              Apr 4 17:24:43 zabbix vmbixd: thread created, collecting data in 1 threads
              Apr 4 17:24:43 zabbix vmbixd: No host named 'vcenter.myhost.com' found
              Apr 4 17:24:45 zabbix vmbixd: thread closed, collecting data in 0 threads
              Apr 4 17:25:06 zabbix vmbixd: thread created, collecting data in 1 threads
              Apr 4 17:25:06 zabbix vmbixd: No host named 'vcenter.myhost.com' found
              I see that vcenter.myhost.com is your Vcenter server not ESXi host.
              But esx.cpu.load item is for ESXi host.
              Your zabbix_get command need to be like following:
              Code:
              root@zabbix:/etc/init.d# zabbix_get -s localhost -p 12050 -k esx.cpu.load[esxi1.myhost.com,used]
              where esxi1.myhost.com is one of ESXi hosts.

              Comment

              • Ronald
                Junior Member
                • Jun 2012
                • 8

                #8
                Thanks, it is working by now.

                Comment

                Working...