...
No Format |
---|
Linux agent RH5 32bit statically linked agent RH5 64bit statically linked agent Start/Stop script Win32 agent Win64 agent Config file |
Copy all files to client you are installing agent on, into /tmp/ZABBIX/
...
Setup Zabbix user/groups on the new client
You will need to sudo to root to do the following:
Verify/add Zabbix user/groups
...
This may already have been done as part of the initial install. Verify and do setup
if necessary.
No Format |
---|
egrep '^zabbix:' /etc/passwd >/dev/null || cat - >> /etc/passwd << EOF zabbix:x:906:906:Zabbix User:/home/zabbix:/bin/bash EOF egrep '^zabbix:' /etc/group >/dev/null || cat - >> /etc/group << EOF zabbix:x:906: EOF pwconv |
Make home dir for zabbix
...
Wherever the local admins accounts are, make one for Zabbix. Copy zabbix_agentd
binary into home.
No Format |
---|
mkdir /home/zabbix cp -p /tmp/ZABBIX/zabbix_agentd /home/zabbix chown -R zabbix /home/zabbix |
Setup Zabbix config file
...
The default init script checks for /etc/opt/zabbix/zabbix_agentd.conf, and if found this file will be used instead of the default config file.
No Format |
---|
mkdir /etc/opt/zabbix cp -p /tmp/ZABBIX/zabbix_agentd.conf /etc/opt/zabbix |
Install/activate Zabbix init script
...
No Format |
---|
cp -pi /tmp/ZABBIX/zabbix_agent_init /etc/init.d/zabbix_agent chkconfig zabbix_agent on chkconfig --list zabbix_agent |
Create local var directory for log and pid files
...
No Format |
---|
mkdir /var/opt/zabbix chown -R zabbix:zabbix /var/opt/zabbix |
Verify IPTABLES for Zabbix connections
Be sure IPTABLES is updated to accept connections on port 10050, from 10.129.92.52. May be already
done with sitedisk iptables when your system was first installed. Check for a line allowing
connections from 10.129.92.52 (monitor.rice.edu) to port 10050 on client.
No Format |
---|
## Add this IF needed to iptables ## accept Zabbix agent connections on port 10050, from zabbix server ## at 10.129.92.52 -A INPUT -p tcp -m tcp --dport 10050 -s 10.129.92.52/32 -j ACCEPT |
Update /etc/services file if necessary:
This may have already been added to /etc/services at initial install. Check for and
add if necessary.
...