Ad Widget

Collapse

Citrix xenserver 5.5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Axilla
    Senior Member
    • Aug 2010
    • 130

    #16
    anyone want to share their zabbix agent compiled for XenServer?

    Comment

    • elvar
      Senior Member
      • Feb 2008
      • 226

      #17
      I had no problems compiling 1.8.2 under the XenServer 5.5 SDK VM and running it. I'm only having issues with 1.8.3 compiled under XenServer 5.6 SDK VM. Not sure what the diff is though.

      Comment

      • Axilla
        Senior Member
        • Aug 2010
        • 130

        #18
        So, I have the agent compiled and running... Using Xen SDK 5.6 and 1.8.2 agent...

        Problem is I can't get the xenserver to talk to zabbix

        Get value from agent failed: *** Cannot connect to [192.168.5.X]:10050 [No route to host]

        Any ideas?

        iptables --list

        ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:10050

        I can ping the XenServer but I can't telnet to it.
        Last edited by Axilla; 28-08-2010, 00:29.

        Comment

        • Axilla
          Senior Member
          • Aug 2010
          • 130

          #19
          So uh, nevermind.. Went home for the day, and it decided it wanted to start working =/. Really strange.

          I want to pass on that this is working on XenServer 5.6 using the 5.6.0 SDK and a 1.8.2 Source
          Last edited by Axilla; 28-08-2010, 18:47.

          Comment

          • elvar
            Senior Member
            • Feb 2008
            • 226

            #20
            Originally posted by Axilla
            So uh, nevermind.. Went home for the day, and it decided it wanted to start working =/. Really strange.

            I want to pass on that this is working on XenServer 5.6 using the 5.6.0 SDK and a 1.8.2 Source

            What about 1.8.3? 1.8.3 segfaults for me in Xenserver 5.6

            Comment

            • Axilla
              Senior Member
              • Aug 2010
              • 130

              #21
              Originally posted by elvar
              What about 1.8.3? 1.8.3 segfaults for me in Xenserver 5.6
              I am running 1.8.2 agents with 1.8.3 Zabbix in XenServer.

              Comment

              • carl
                Junior Member
                • Aug 2006
                • 28

                #22
                Using "xe host-data-source-list" and "xe host-data-source-query" I made some basic UserParameter for xenserver below.

                UserParameter=xe.vmcountup,sudo /opt/xensource/bin/xe vm-list | grep running | wc -l
                UserParameter=xe.vmcountdown,sudo /opt/xensource/bin/xe vm-list | grep halted | wc -l
                UserParameter=xe.memory_total_kib,sudo /opt/xensource/bin/xe host-data-source-query data-source=memory_total_kib
                UserParameter=xe.memory_free_kib,sudo /opt/xensource/bin/xe host-data-source-query data-source=memory_free_kib
                UserParameter=xe.xapi_memory_usage_kib,sudo /opt/xensource/bin/xe host-data-source-query data-source=xapi_memory_usage_kib
                UserParameter=xe.xapi_free_memory_kib,sudo /opt/xensource/bin/xe host-data-source-query data-source=xapi_free_memory_kib
                UserParameter=xe.xapi_live_memory_kib,sudo /opt/xensource/bin/xe host-data-source-query data-source=xapi_live_memory_kib
                UserParameter=xe.xapi_allocation_kib,sudo /opt/xensource/bin/xe host-data-source-query data-source=xapi_allocation_kib
                UserParameter=xe.cpu3,sudo /opt/xensource/bin/xe host-data-source-query data-source=cpu3
                UserParameter=xe.cpu2,sudo /opt/xensource/bin/xe host-data-source-query data-source=cpu2
                UserParameter=xe.cpu1,sudo /opt/xensource/bin/xe host-data-source-query data-source=cpu1
                UserParameter=xe.cpu0,sudo /opt/xensource/bin/xe host-data-source-query data-source=cpu0
                UserParameter=xe.loadavg,sudo /opt/xensource/bin/xe host-data-source-query data-source=loadavg

                I will try to write more for xe vm-data-source-list and xe vm-data-source-query and update at http://slog.carlheaton.co.uk/index.p...k-in-progress/

                Comment

                • forlinuxsupport
                  Member
                  • Oct 2005
                  • 39

                  #23
                  [Solved] Install zabbix agent on XenServer 5.6

                  I found this guide and it seems to work

                  Comment

                  Working...