Setup zabbix-agent22 » Historie » Version 1
Jeremias Keihsler, 15.07.2017 15:16
| 1 | 1 | Jeremias Keihsler | h1. Install Zabbix Agent 2.2.x |
|---|---|---|---|
| 2 | |||
| 3 | h2. Preliminary note |
||
| 4 | |||
| 5 | also check back on zabbix-wiki http://www.zabbix.com/wiki/howto/monitor/os/linux/agentinstallonlinux (this is still for CentOS 5.x but may be of help) |
||
| 6 | |||
| 7 | h2. Requirements |
||
| 8 | |||
| 9 | * [[repo_epel|EPEL]] |
||
| 10 | |||
| 11 | h2. Agent-Install |
||
| 12 | |||
| 13 | <pre><code class="bash"> |
||
| 14 | yum update |
||
| 15 | yum --enablerepo=epel install zabbix22-agent |
||
| 16 | </code></pre> |
||
| 17 | <pre><code class="bash"> |
||
| 18 | vim /etc/zabbix/zabbix_agentd.conf |
||
| 19 | </code></pre> |
||
| 20 | <pre> |
||
| 21 | # line 82: change to your Zabbix-server |
||
| 22 | Server=192.168.56.1 |
||
| 23 | |||
| 24 | # line 105: change to your hostname |
||
| 25 | Hostname=application.server.example.com |
||
| 26 | </pre> |
||
| 27 | |||
| 28 | <pre><code class="bash"> |
||
| 29 | vim /etc/zabbix/zabbix_agent.conf |
||
| 30 | </code></pre> |
||
| 31 | <pre> |
||
| 32 | # line 13: change to your Zabbix-server |
||
| 33 | Server=192.168.56.1 |
||
| 34 | </pre> |
||
| 35 | <pre><code class="bash"> |
||
| 36 | systemctl start zabbix-agent |
||
| 37 | systemctl enable zabbix-agent |
||
| 38 | </code></pre> |
||
| 39 | |||
| 40 | h3. Firewall |
||
| 41 | |||
| 42 | you have to open port @10050 tcp@ |