Install Zabbix agent on Solaris 11

Tags
agent, install, newbies, solaris, solaris 11, zabbix

 
Thread Tools Search this Thread
# 8  
Old 1 Week Ago
Hi,

In that case, I'd just be tempted to write your own "start|stop|restart" and put it into /etc/init.d with the Start and Kill in /etc/rc3.d. Check this thread out - I know it's AIX but the example is valid.

Regards

Gull04

Last edited by gull04; 1 Week Ago at 04:47 AM.. Reason: More Info
This User Gave Thanks to gull04 For This Post:
sph919 (1 Week Ago)
# 9  
Old 1 Week Ago
Guys,

You don't need to jump to writing a startup script until you install the binary files, the config files; and manually start of the process to make sure it works.

Just install (copy) the zabbix binaries to any bin folder you want (based on other installations if that makes you happy), and install (copy) the config files to somewhere in /etc, like /etc/zabbix

(maybe the files are already copied to their final resting places?)

Then, try to start the zabbix agent.

It will give you an error.

The error will be something like "cannot find config file in /etc/zabbix.config.blah.blah and then move to the config file to where the zabbix agent wants it to be.

If you did something like this, you would already have it up and running. It's not rocket science Smilie

You (sph919) are looking for a clear instruction on something you can easily do in less than a 1/2 hour with a bit of trial and error.
This User Gave Thanks to Neo For This Post:
sph919 (1 Week Ago)
# 10  
Old 1 Week Ago
Quote:
Originally Posted by Neo
Guys,

You don't need to jump to writing a startup script until you install the binary files, the config files; and manually start of the process to make sure it works.

Just install (copy) the zabbix binaries to any bin folder you want (based on other installations if that makes you happy), and install (copy) the config files to somewhere in /etc, like /etc/zabbix

Then, try to start the zabbix agent.

It will give you an error.

The error will be something like "cannot find config file in /etc/zabbix.config.blah.blah and the move to the config file to where the zabbix agent wants it to be.

If you did something like this, you would already have it up and running. It's not rocket science Smilie

You (sph919) are looking for a clear instruction on something you can easily do in less than a 1/2 hour with a bit of trial and error.

PS: Your server will not catch on fire if you try to get zabbix up and running by trial and error Smilie
# 11  
Old 1 Week Ago
Install Zabbix agent on Solaris 11

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
Code:
zabbix_agents_3.2.0.solaris10.sparc.tar.gz

(although its for Solaris 10 it will work on 11)

Extract the files
Code:
tar -xvzf zabbix_agents_3.2.0.solaris10.sparc.tar.gz

You will have the following folders

Code:
sbin/
bin/
conf/

Now move the content of the files to there system folders eg
Code:
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/

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

Now run :
Code:
/sbin/zabbix_agentd -c /etc/zabbix_agentd.conf

to start the agent

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 from
Code:
sourceforge /projects/zabbix/files/ZABBIX20Latest20Stable/3.4.15/zabbix-3.4.15.tar.gz/download

Install the required dependencies and gcc (gnu-compiler) + make.
untar the source code

Follow this manual: on
Code:
zabbix documentation/3.4/manual/installation/install#installing_zabbix_daemons

Code:
./configure --enable-agent

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

Last edited by Neo; 1 Week Ago at 01:12 PM..
This User Gave Thanks to sph919 For This Post:
Neo (1 Week Ago)

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
No way to install a flar archive of Solaris 10 to Solaris 11.4 zone Linusolaradm1 Solaris 1 10-09-2018 12:19 AM
Solaris 7: Is it possible to install JRE1.6 on Solaris 7 jaychen Solaris 2 03-18-2018 10:04 AM
OV Server on 11 - need to install agent? psychocandy Solaris 6 04-13-2017 12:12 PM
VCS on Solaris: VCS ERROR V-16-2-13077 (host2) Agent is unable to offline resource(DiskReservation) ForgetChen Solaris 2 11-09-2011 09:43 PM
Solaris 10 install dvd drive boots, but not recoginized by install process gwillhight Solaris 4 08-28-2011 10:29 PM
Installing Solaris 8 bootblock without Solaris Install CD johnny994 Solaris 12 01-18-2011 06:22 PM
Installing Zabbix on Solaris 10 jolie Infrastructure Monitoring 4 10-12-2010 05:32 AM
Help me install Backup Exec (formerlly owned by Veritas) agent on AIX machine :( bsddaemon AIX 0 04-21-2009 11:55 AM
A Review of Zabbix - Zabbix Rules! (Part 2) Linux Bot Infrastructure Monitoring 0 03-23-2009 08:00 PM
A Review of Zabbix - Zabbix Rules! (Part 1) Linux Bot Infrastructure Monitoring 0 03-20-2009 09:40 AM
How to install Tripwire agent Solaris servers Renjesh Solaris 2 04-09-2008 04:53 AM
Installing SNMP Agent on Solaris Systems adel8483 Solaris 3 05-02-2007 08:52 AM
Help! can't install Solaris 10 deamon Solaris 10 02-13-2007 07:28 AM
Solaris agent Carmen123 UNIX for Dummies Questions & Answers 0 08-26-2005 12:56 PM