Greets - I've been using Zabbix on intel boxes (typically Debian distros) for a number of years quite happily, and my fleet has grown, as one hopes. One particular instance has now grown to the point that I'd like to make more use of proxies at remote sites that are typically linked by VPN, since of course VPNs go down occasionally.
I already tested my setup both in lab and field with ONLY intel-based boxes and it is functional. For those I have been using the Debian package of 3.2.6 (3.4 will be an inline upgrade once I get my "problem" below fixed).....
I have a bunch of Sun V100's sitting around gathering dust, that I would prefer to get up and going again. I've used DebianSparc32 on these machines before, as well as Solaris9, both ok. I prefer Debian. This is not a request for help with Sparc or Debian - please note that I have fully working Debian environments with PostgreSql 9.1 and networking, and libsnmp-dev running on these units. (In case someone is asking, the Sparc64-debian buildbot is apparently currently broken and wouldn't complete installation, so 32 bit is as functional as it gets at the moment.)
Unfortunately, the Deb-Sparc binaries no longer install for Zabbix proxy on this platform so I compiled from sources (zabbix-3.4.7.tar.gz to be precise). I believe that the make process worked well - there were no errors indicated (there were a lot of "Entering directory, nothing to do, exiting directory" instances, but given how many temp folders it was making in the process, that's not a big surprise. After make install (my configure was: ./configure --prefix=/usr --enable-proxy --with-net-snmp --with-postgresql --enable-agent) I ran the dbase setup and the schema was created as expected.
I make a couple quick changes to the agent conf file, and upon attempting the traditional 'service zabbix_agentd start' was informed that it was an unrecognized service....hmm.... inet.d also showed no entry.....also hmm... I then located the binaries (/usr/sbin) and ran zabbix_agentd from there.
And success - the agent would communicate with my master server no issues. Thus, step 1 is successful.
And now for the proxy.
A couple quick changes to the proxy config just to get the baseline, but unfortunately, the daemon gets terminated (per logs).
A snippet from the first fatal entry:
17390:20180327:062551.063 proxy #1 started [housekeeper #1]
17390:20180327:062551.064 __zbx_zbx_setproctitle() title:'housekeeper [startup idle for 30 minutes]'
17390:20180327:062551.064 Got signal [signal:10(SIGBUS),reason:1,refaddr:0xf52fd664]. Crashing ...
17390:20180327:062551.064 ====== Fatal information: ======
17390:20180327:062551.064 program counter not available for this architecture
There's a lot more in the attached logs, but it gets a little cryptic when the .so modules lists start whizzing by. By my read, it appears to access the dbase ok (the dbase has a full schema, but the only data populated is the dbase version table) - not unexpectedly since the process dies before it queries the master server for data.
My belief is that there must be a dependency missing or an incompatibility somewhere. Although I would love for it to be a line in the config that is causing it.
My agent, proxy conf's and the proxy log are in the attached zip file (sorry for the zip file, a 70kb log doesn't fit in a 20kb max upload allowance).
Any thoughts?
I already tested my setup both in lab and field with ONLY intel-based boxes and it is functional. For those I have been using the Debian package of 3.2.6 (3.4 will be an inline upgrade once I get my "problem" below fixed).....
I have a bunch of Sun V100's sitting around gathering dust, that I would prefer to get up and going again. I've used DebianSparc32 on these machines before, as well as Solaris9, both ok. I prefer Debian. This is not a request for help with Sparc or Debian - please note that I have fully working Debian environments with PostgreSql 9.1 and networking, and libsnmp-dev running on these units. (In case someone is asking, the Sparc64-debian buildbot is apparently currently broken and wouldn't complete installation, so 32 bit is as functional as it gets at the moment.)
Unfortunately, the Deb-Sparc binaries no longer install for Zabbix proxy on this platform so I compiled from sources (zabbix-3.4.7.tar.gz to be precise). I believe that the make process worked well - there were no errors indicated (there were a lot of "Entering directory, nothing to do, exiting directory" instances, but given how many temp folders it was making in the process, that's not a big surprise. After make install (my configure was: ./configure --prefix=/usr --enable-proxy --with-net-snmp --with-postgresql --enable-agent) I ran the dbase setup and the schema was created as expected.
I make a couple quick changes to the agent conf file, and upon attempting the traditional 'service zabbix_agentd start' was informed that it was an unrecognized service....hmm.... inet.d also showed no entry.....also hmm... I then located the binaries (/usr/sbin) and ran zabbix_agentd from there.
And success - the agent would communicate with my master server no issues. Thus, step 1 is successful.
And now for the proxy.
A couple quick changes to the proxy config just to get the baseline, but unfortunately, the daemon gets terminated (per logs).
A snippet from the first fatal entry:
17390:20180327:062551.063 proxy #1 started [housekeeper #1]
17390:20180327:062551.064 __zbx_zbx_setproctitle() title:'housekeeper [startup idle for 30 minutes]'
17390:20180327:062551.064 Got signal [signal:10(SIGBUS),reason:1,refaddr:0xf52fd664]. Crashing ...
17390:20180327:062551.064 ====== Fatal information: ======
17390:20180327:062551.064 program counter not available for this architecture
There's a lot more in the attached logs, but it gets a little cryptic when the .so modules lists start whizzing by. By my read, it appears to access the dbase ok (the dbase has a full schema, but the only data populated is the dbase version table) - not unexpectedly since the process dies before it queries the master server for data.
My belief is that there must be a dependency missing or an incompatibility somewhere. Although I would love for it to be a line in the config that is causing it.
My agent, proxy conf's and the proxy log are in the attached zip file (sorry for the zip file, a 70kb log doesn't fit in a 20kb max upload allowance).
Any thoughts?

Comment