Ad Widget

Collapse

Zabbix agent on Irix ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • buzzzo
    Junior Member
    • Sep 2008
    • 7

    #1

    Zabbix agent on Irix ?

    Hi

    Anyone using agent on irix ?
    I'm wondering if is it possible to compile on it and if it works properly.

    Thx
  • mastopj
    Junior Member
    • May 2009
    • 10

    #2
    I'd like one too. I've seen several people on nekochan who were in the process of porting to IRIX, but most of them are old posts, from the zabbix 1.0 and 1.1 time.

    I've recently tried to compile and run 1.6.4 with GCC 3.0 on IRIX 6.5.30, and I got a binary. There were some typo's in src/libs/zbxsysinfo/unknown/*.c, will submit them to the support site later.

    But in the end the agentd segfaulted, and I lack a good debugger (and time) to find out why. I'll try with the 1.4 source code later, might help.

    Anyone still interested in getting this to work, let's hear about it.

    Comment

    • mastopj
      Junior Member
      • May 2009
      • 10

      #3
      For people willing to give it a try, here's some things you have to fix to get it to compile (for Zabbix 1.6.4 source) with GCC 3.0-3.3:
      • Create a dummy /bin/ranlib shell script that does nothing
      • Edit src/libs/zbxsysinfo/unknown/net.c and change the second definition of NET_IF_OUT to NET_IF_TOTAL (Line 44, Copy/Paste error).
      • Edit src/libs/zbxsysinfo/unknown/swap.c and add a comma between "sizeof(swapdev)" and "all". (Typo)
      • Edit src/libs/zbxsysinfo/unknown/memory.c and change line 202. Append "&& defined(CTL_HW) && defined(HW_PHYSMEM)", since they aren't defined anywhere in IRIX GCC. Not sure where these should be defined or what value they should have. Will probably result in zbx_unsupported for memory metrics.


      Now just ./configure --enable-agent and wait. My binary segfaulted

      I stand corrected. It seems to work with -p. Will update later.

      Comment

      Working...