Zabbix/Agent: verschil tussen versies
Uit WaaaghPedia
< Zabbix
Geen bewerkingssamenvatting |
(geen verschil)
|
Versie van 3 jan 2019 11:31
CentOS 7
rpm -ivh https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpm yum install -y zabbix-agent systemctl enable zabbix-agent.service nano /etc/zabbix/zabbix_agentd.conf systemctl start zabbix-agent.service firewall-cmd --zone=public --add-port=10050/tcp --permanent firewall-cmd --reload
Raspberry Pi
sudo apt-get install zabbix-agent # in case agent is only thing required/needed sudo service zabbix-agent enable sudo service zabbix-agent start
Configuratie
nano /etc/zabbix/zabbix_agentd.conf
#Server=[zabbix server ip] #Hostname=[ Hostname of client system ] Server=zabbix.host.nl Hostname=localhostname
Software Opties
systemctl enable zabbix-agent.service systemctl disable zabbix-agent.service
systemctl status zabbix-agent.service systemctl start zabbix-agent.service systemctl stop zabbix-agent.service systemctl restart zabbix-agent.service
Firewall
firewall-cmd --zone=public --add-port=10050/tcp --permanent firewall-cmd --reload