Setup zabbix-agent20 » Historie » Version 1
Jeremias Keihsler, 13.01.2017 12:36
1 | 1 | Jeremias Keihsler | h1. Install Zabbix Agent 2.0.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 zabbix20-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 | /etc/rc.d/init.d/zabbix-agent start |
||
37 | chkconfig zabbix-agent on |
||
38 | </code></pre> |
||
39 | |||
40 | h3. Firewall |
||
41 | |||
42 | you have to open port @10050 tcp@ |