Projekt

Allgemein

Profil

Setup zabbix-agent22 » Historie » Revision 2

Revision 1 (Jeremias Keihsler, 15.07.2017 15:16) → Revision 2/4 (Jeremias Keihsler, 15.07.2017 15:34)

h1. Install Zabbix Agent 2.2.x 

 h2. Preliminary note 

 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) 

 h2. Requirements 

 * [[repo_epel|EPEL]] 

 h2. Agent-Install 

 <pre><code class="bash"> 
 yum update 
 yum --enablerepo=epel install zabbix22-agent 
 </code></pre> 
 <pre><code class="bash"> 
 vim /etc/zabbix/zabbix_agentd.conf 
 </code></pre> 
 <pre> 
 # line 82: change to your Zabbix-server 
 Server=192.168.56.1 

 # line 105: change to your hostname 
 Hostname=application.server.example.com 
 </pre> 

 <pre><code class="bash"> 
 vim /etc/zabbix/zabbix_agent.conf 
 </code></pre> 
 <pre> 
 # line 13: change to your Zabbix-server 
 Server=192.168.56.1 
 </pre> 
 <pre><code class="bash"> 
 systemctl start zabbix-agent 
 systemctl enable zabbix-agent 
 </code></pre> 

 h3. Firewall 

 you have to open port @10050 tcp@ 

 <pre><code class="bash"> 
 firewall-cmd --permanent --add-port=10050/tcp --zone=public 
 firewall-cmd --reload 
 </code></pre>