Ad Widget

Collapse

Need help with VmBix installation - VMware Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arjandv
    Junior Member
    • Sep 2016
    • 8

    #1

    Need help with VmBix installation - VMware Monitoring

    Hello All,

    I have been trying to install VMbix on my Zabbix appliance version 3.01. (Ubuntu 14.04.5 LTS)
    I have installed the .DEB file, didn't and get any errors

    I think my major problem is that there is no Binary installed on:
    /usr/local/sbin/vmbix.

    when i copy the binary manually and try to run it i get the message: /usr/local/vmbix/vmbix.jar jar not found

    The manual says you also need the loadable module.
    I did the configuration change:

    For a server : /etc/zabbix/zabbix_server.conf
    LoadModulePath=/usr/lib/zabbix/modules
    LoadModule=vmbix.so




    Can someone give help me with a step by step how to install/configure VmBix?
    Last edited by arjandv; 15-09-2016, 09:32.
  • arjandv
    Junior Member
    • Sep 2016
    • 8

    #2
    Ok I installed: vmbix_2.5.0.151-1_amd64.deb
    And now I have a binary in:

    /usr/local/sbin/vmbix
    Usage:
    vmbix {-P|--port} listenPort {-s|--serviceurl} http[s]://serveraddr/sdk {-u|--username} username {-p|--password} password [-f|--pid pidfile]



    zabbix_agentd -t vmbix[version]
    zabbix_agentd [8492]: Loading VmBix module configuration file /etc/zabbix/vmbix_module.conf
    vmbix[version] [s|ZBX_NOTSUPPORTED]


    My zabbix server version is 3.0.1

    Comment

    • arjandv
      Junior Member
      • Sep 2016
      • 8

      #3
      Hello all,

      Still trying to get vmbix to work on my Zabbix appliance:

      when I test the loadable module now I get:

      zabbix_agentd -t vmbix[version] zabbix_agentd [1436]: Loading VmBix module configuration file /etc/zabbix/vmbix_module.conf
      vmbix[version]

      No error but also no version is displayed

      When I test the vmbix binary i get this:

      vmbix -P 12055 -u "vcenter user" -p "vcenter user pw" -s "http://vcenter.domain.local/sdk"

      Exception in thread "main" java.lang.NullPointerException
      at net.dav3860.VmBix.main(VmBix.java:224)
      21:27:51.746 [Thread-0] INFO net.dav3860.VmBix - Shutting down
      21:27:51.749 [Thread-0] ERROR net.dav3860.VmBix - Error disconnecting: null
      21:27:51.749 [Thread-0] INFO net.dav3860.VmBix - Shutted down


      I would be verry thankfull if someone could give me a push into the right direction?

      Comment

      • hernan
        Member
        • Sep 2016
        • 67

        #4
        Originally posted by arjandv
        Hello all,

        Still trying to get vmbix to work on my Zabbix appliance:

        when I test the loadable module now I get:

        zabbix_agentd -t vmbix[version] zabbix_agentd [1436]: Loading VmBix module configuration file /etc/zabbix/vmbix_module.conf
        vmbix[version]

        No error but also no version is displayed

        When I test the vmbix binary i get this:

        vmbix -P 12055 -u "vcenter user" -p "vcenter user pw" -s "http://vcenter.domain.local/sdk"

        Exception in thread "main" java.lang.NullPointerException
        at net.dav3860.VmBix.main(VmBix.java:224)
        21:27:51.746 [Thread-0] INFO net.dav3860.VmBix - Shutting down
        21:27:51.749 [Thread-0] ERROR net.dav3860.VmBix - Error disconnecting: null
        21:27:51.749 [Thread-0] INFO net.dav3860.VmBix - Shutted down


        I would be verry thankfull if someone could give me a push into the right direction?
        I have the same error on the same environment. Can anybody help us with this??

        Thanks in advance.

        Hernán.

        Comment

        • arjandv
          Junior Member
          • Sep 2016
          • 8

          #5
          Hi Hernán,

          Yesterday I've managed to make it work with installing version 2.4 instead of 2.5.

          I can now query my vcenter appliance.

          regards,

          Comment

          • hernan
            Member
            • Sep 2016
            • 67

            #6
            Great !!! You ar rigth. The 2.4 is working perfect!!

            Sorry How you added the deamon in Ubuntu? The chkconfig command is not supported on Ubuntu 14.x

            Thanks in advance.

            Hernán.

            Comment

            • hernan
              Member
              • Sep 2016
              • 67

              #7
              Sorry, can you help me with my last question?

              Thanks in advance.

              Regards.

              Comment

              • arjandv
                Junior Member
                • Sep 2016
                • 8

                #8
                like this /usr/local/sbin# update-rc.d ./vmbixd defaults

                Comment

                Working...