If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
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.
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