Install Zabbix agent on Solaris 11


Login or Register to Reply

 
Thread Tools Search this Thread
# 8  
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; 01-11-2019 at 03:47 AM.. Reason: More Info
This User Gave Thanks to gull04 For This Post:
# 9  
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:
# 10  
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  
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; 01-14-2019 at 12:12 PM..
This User Gave Thanks to sph919 For This Post:
Login or Register to Reply

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

More UNIX and Linux Forum Topics You Might Find Helpful
OV Server on 11 - need to install agent?
psychocandy
Client has got a few machines with logical domains on. But I can't see the the ovs-agent service? Quite possibly I guess this has been set up with just logical domains. With no agent. Do you need to use the agent only if planning to manage with OV Manager?... Solaris
6
Solaris
Installing Zabbix on Solaris 10
jolie
Anyone has a step by step guide in installing Zabbix on Solaris 10? I'm new in this, and every help is appreciated. :)... Infrastructure Monitoring
4
Infrastructure Monitoring
Help me install Backup Exec (formerlly owned by Veritas) agent on AIX machine :(
bsddaemon
Hi all. I hope someone could give me a hand on installing Backup Exec agent on AIX machine :( Agent: OS: AIX 5.3 Hostname: DB-HN-SRV02 IP: 10.1.4.64 Backup server: OS: Windows Server 2003 Hostname: backup-srv IP: 10.1.5.51 I download "Legacy Unix agent.tar", untar, then run file...... AIX
0
AIX
A Review of Zabbix - Zabbix Rules! (Part 1)
Linux Bot
Tim Bass 03-20-2009 07:02 AM Source...... Infrastructure Monitoring
0
Infrastructure Monitoring
How to install Tripwire agent Solaris servers
Renjesh
Hi , Please help me to install Tripwire agent in one of my Solaris 5.9 server. I have a zipped copy of the agent file in my local drive. When trying to ftping the file from local drive to the server its showing error as " cannot copy the files" Please help me to solve this issue. ...... Solaris
2
Solaris