Zabbix/Agent

Uit WaaaghPedia

CentOS 7

rpm -Uvh https://repo.zabbix.com/zabbix/4.4/rhel/7/x86_64/zabbix-release-4.4-1.el7.noarch.rpm
yum-config-manager --enable rhel-7-server-optional-rpms
yum install zabbix-agent -y

nano /etc/zabbix/zabbix_agentd.conf
---
Server=127.0.0.1,zabbix.vhhq.nl,10.10.20.126
Hostname=Plex Server
---

systemctl enable zabbix-agent.service
systemctl start zabbix-agent.service

firewall-cmd --zone=public --add-port=10050/tcp --permanent
firewall-cmd --reload

https://www.zabbix.com/documentation/current/manual/installation/install_from_packages/rhel_centos

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