Install Zabbix agent on Solaris 11


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Install Zabbix agent on Solaris 11
# 8  
Old 01-11-2019
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 04:47 AM.. Reason: More Info
This User Gave Thanks to gull04 For This Post:
# 9  
Old 01-11-2019
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  
Old 01-11-2019
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 01-14-2019
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 01:12 PM..
This User Gave Thanks to sph919 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

OV Server on 11 - need to install agent?

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? (6 Replies)
Discussion started by: psychocandy
6 Replies

2. Solaris

VCS on Solaris: VCS ERROR V-16-2-13077 (host2) Agent is unable to offline resource(DiskReservation)

hi, dear all I get a problem "VCS ERROR V-16-2-13077 " on VCS 4.1 for Solaris 10. I can not offline the host2 when the raid is bad. I don't know the reason and how to offline host2 and switch to host1. please help me, thank you! the message of engine_A.log is : ... (2 Replies)
Discussion started by: ForgetChen
2 Replies

3. Solaris

Solaris 10 install dvd drive boots, but not recoginized by install process

I am trying to build a Sun Ultra 10 with solaris 10. This computer is one of a collection that was donated to the non-profic company I work for. All media was wiped before I recieved them, so I am starting from stratch. I downloaded the Solaris 10 ISO and burned a DVD. The computer came with a... (4 Replies)
Discussion started by: gwillhight
4 Replies

4. Infrastructure Monitoring

Installing Zabbix on Solaris 10

Anyone has a step by step guide in installing Zabbix on Solaris 10? I'm new in this, and every help is appreciated. :) (4 Replies)
Discussion started by: jolie
4 Replies

5. AIX

Help me install Backup Exec (formerlly owned by Veritas) agent on AIX machine :(

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... (0 Replies)
Discussion started by: bsddaemon
0 Replies

6. Infrastructure Monitoring

A Review of Zabbix - Zabbix Rules! (Part 2)

Tim Bass 03-23-2009 03:45 PM Source... (0 Replies)
Discussion started by: Linux Bot
0 Replies

7. Infrastructure Monitoring

A Review of Zabbix - Zabbix Rules! (Part 1)

Tim Bass 03-20-2009 07:02 AM Source... (0 Replies)
Discussion started by: Linux Bot
0 Replies

8. Solaris

How to install Tripwire agent Solaris servers

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. ... (2 Replies)
Discussion started by: Renjesh
2 Replies

9. Solaris

Installing SNMP Agent on Solaris Systems

Hi, I am trying to apply the steps in the below link: http://manageengine.adventnet.com/products/applications_manager/help/appendix/snmp-agent-discovery.html#solaris but I couldn't continue with the step number 2 ... what is the path of C compiler. export PATH=<gcc path>:$PATH ... (3 Replies)
Discussion started by: adel8483
3 Replies

10. UNIX for Dummies Questions & Answers

Solaris agent

Hello, on Solaris 5.8 I've installed SunMgtCenter to get the time agent; it's under /opt/SUNWsymon/sbin/es-start -a it's in ps -ef | grep agent ...but it doesn't work; the machine is always in alarm cause the time is different of the clock server; is it clear enough ? tks cc (0 Replies)
Discussion started by: Carmen123
0 Replies
Login or Register to Ask a Question