Install Zabbix agent on Solaris


#1

Hi all,

I’ve been trying to install the zabbix agent on Solaris 11, but not having any luck. I’ve got the latest agent version for Solaris, but can’t figure out how to install it. When I unzip it I just get three folders.

Bin with - zabbix_get and zabbix_sender
Sbin with - zabbix_agentd
Conf with - zabbix_agentd, zabbix_agentd.conf

Nothing in there to install zabbix, like a .sh file. Can any one help ?


#2

Hi all,

Solved my own problem so thought I would share it.

Download the pre-compiled Zabbix agents from zabbix
In my case it was zabbix_agents_3.2.0.solaris10.sparc.tar.gz (although its for Solaris 10 it will work on 11)

  1. Extract the files

tar -xvzf zabbix_agents_3.2.0.solaris10.sparc.tar.gz
You will have the following folders

sbin/
bin/
conf/

  1. Now move the content of the files to there system folders eg

mv /export/home/username/conf/zabbix_agentd.conf /etc/
mv /export/home/username/conf/zabbix_agentd /etc/
mv /export/home/username/bin/zabbix_sender /bin/
mv /export/home/username/bin/zabbix_get /bin/
mv /export/home/username/sbin/zabbix_agentd /sbin/

  1. Edit your zabbix_agentd.conf to point to your Zabbix server and add the host servers name.

  2. Now run : /sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf to start the agent

  3. Add it to your Zabbix server and your done.

Note that the pre-compiled Zabbix agent for Solaris was not compiled without TLS support

Also, as an option, or you can compile zabbix_agent from the source files: https://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/3.4.15/zabbix-3.4.15.tar.gz/download.

  1. Install the required dependencies and gcc (gnu-compiler) + make.
  2. untar the source code
  3. Follow this manual: https://www.zabbix.com/documentation/3.4/manual/installation/install#installing_zabbix_daemons

./configure --enable-agent
The zabbix_sender, zabbix_get and zabbix_agentd + conf file will be place under the /usr/local/ directories.


#3

Solaris x86 or Sparc?
Look in the Zabbix forums https://www.zabbix.com/forum/zabbix-help/48178-zabbix-agent-on-solaris-11
Also for Solaris 10


#4

Hi G-atic,

It was for sparc. Yea I did look in the Zabbix Forums and post, but didn’t resolve it. There not a lot on documentations for Solaris with Zabbix. Have asked if the could add more, but I think Solaris is fading out more and more.


#5

Just ignore my other post. It’s a shame Oracle is phasing out Solaris had experience with it on the Sparc platform. Sun’s other great contribution to IT was ZFS that continues to improve as open source.