Install Zabbix agent on Solaris 11


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Install Zabbix agent on Solaris 11

Hello all,

I'm trying to set up a few Solaris servers in Zabbix. I did some googling and RTFMing and found there where two ways.

1. Download and install pre-compiled Zabbix agent from Zabbix

or

2.To download and install from opencsw

I downloading the pre-compiled Zabbix agent from Zabbix and when unzipping all I got was bin,sbin and conf folders.

Bin has - zabbix_get zabbix_sender
Sbin has - zabbix_agentd
Conf has - zabbix_agentd zabbix_agentd.conf

Nothing in there to install zabbix, like a .sh file.

I then moved onto option 2 which installed and I have change the conf to point to my Zabbix server but there is not service running or zabbix-agent service to start.

Has any one have any experience in setting this up or able to point me in the right direction?

Thanks
# 2  
Why not just put the bin files in bin folders and config files in /etc/zabbix and make sure your paths work together and go for it?
# 3  
Install Zabbix agent on Solaris 11

Hi Neo,

sorry I don't follow. Don't I need to install it first? the was no 'install.sh' file with the pre-compiled Zabbix agent. and the opencsw give these install instructions
Code:
pkgadd -d get.opencsw.org/now
/opt/csw/bin/pkgutil -U
/opt/csw/bin/pkgutil -y -i zabbix_agent 
/usr/sbin/pkgchk -L CSWzabbix-agent # list files

The output of /usr/sbin/pkgchk -L CSWzabbix-agent # list files being

Code:
/etc/opt/csw/zabbix_agent.conf.CSW f cswpreserveconf 0644 root bin 2272 63346 1340696534 CSWzabbix-agent
/etc/opt/csw/zabbix_agent.conf.d d none 0755 root bin CSWzabbix-agent
/etc/opt/csw/zabbix_agentd.conf.CSW f cswpreserveconf 0644 root bin 5764 20316 1340696534 CSWzabbix-agent
/etc/opt/csw/zabbix_agentd.conf.d d none 0755 root bin CSWzabbix-agent
/opt/csw/bin/sparcv8plus/zabbix_get f none 0755 root bin 142284 55650 1340696530 CSWzabbix-agent
/opt/csw/bin/sparcv8plus/zabbix_sender f none 0755 root bin 162080 44740 1340696530 CSWzabbix-agent
/opt/csw/bin/sparcv9/zabbix_get f none 0755 root bin 166240 25256 1340696534 CSWzabbix-agent
/opt/csw/bin/sparcv9/zabbix_sender f none 0755 root bin 190416 20703 1340696534 CSWzabbix-agent
/opt/csw/bin/zabbix_get=/opt/csw/bin/isaexec l none CSWzabbix-agent
/opt/csw/bin/zabbix_sender=/opt/csw/bin/isaexec l none CSWzabbix-agent
/opt/csw/sbin/sparcv8plus/zabbix_agent f none 0755 root bin 432756 17550 1340696530 CSWzabbix-agent
/opt/csw/sbin/sparcv8plus/zabbix_agentd f none 0755 root bin 497272 34563 1340696530 CSWzabbix-agent
/opt/csw/sbin/sparcv9 d none 0755 root bin CSWzabbix-agent
/opt/csw/sbin/sparcv9/zabbix_agent f none 0755 root bin 483816 12088 1340696534 CSWzabbix-agent
/opt/csw/sbin/sparcv9/zabbix_agentd f none 0755 root bin 554752 37902 1340696534 CSWzabbix-agent
/opt/csw/sbin/zabbix_agent=/opt/csw/bin/isaexec l none CSWzabbix-agent
/opt/csw/sbin/zabbix_agentd=/opt/csw/bin/isaexec l none CSWzabbix-agent
/opt/csw/share/doc/zabbix_agent d none 0755 root bin CSWzabbix-agent
/opt/csw/share/doc/zabbix_agent/license f none 0644 root bin 17991 30402 1340697025 CSWzabbix-agent
/opt/csw/share/man/man1 d none 0755 root bin CSWzabbix-agent CSWpkgutil
/opt/csw/share/man/man1/zabbix_get.1 f none 0644 root bin 997 15578 1340696530 CSWzabbix-agent
/opt/csw/share/man/man1/zabbix_sender.1 f none 0644 root bin 3274 22681 1340696530 CSWzabbix-agent
/opt/csw/share/man/man8 d none 0755 root bin CSWzabbix-agent
/opt/csw/share/man/man8/zabbix_agentd.8 f none 0644 root bin 911 10795 1340696530 CSWzabbix-agent

But there is no service to start.
# 4  
Just install it manually. Why not? What have you got to lose?
# 5  
Ah right. I don't know how to do it. When you say install manually would this be just unzipping the pre-compiled Zabbix agent and moving all the bin file to /bin, then created the folder /etc/zabbix and move the conf files there? and move all the sbin file into /sbin ?
# 6  
Hi,

I've never used Zabbix, but it's likely that the way to start it would be to run it as a legacy service - which will mean that you'll have to create a manifest. Alternatively you could write your own start "start|stop|restart" script and put it in /etc/init.d and link back to /etc/rc3.d to start it.

If you are running on an x86 version I'd think that there would be more help than the SPARC version.

I would start looking here for information.

Regards

Gull04

Last edited by gull04; 01-10-2019 at 09:35 AM.. Reason: Correction
# 7  
OK thanks gull04. I did start with the zabbix forums, be no one has any information about install the agent on solaris. There not even any documentation from Zabbix them selfs. Will keep looking.
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