Difference between revisions of "Zabbix agent"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
::<code>[[systemctl]] restart zabbix-agent</code> | ::<code>[[systemctl]] restart zabbix-agent</code> | ||
::<code>[[systemctl start]] zabbix-agent</code> | ::<code>[[systemctl start]] zabbix-agent</code> | ||
+ | ::<code>systemctl status zabbix-agent</code> | ||
* Binaries: <code>[[zabbix_agentd]]</code>, <code>[[zabbix_sender]]</code> | * Binaries: <code>[[zabbix_agentd]]</code>, <code>[[zabbix_sender]]</code> |
Revision as of 13:08, 30 September 2020
Zabbix agent is Zabbix client agent that runs on Linux, UNIX and Windows.
Zabbix agent support:
- Metric collection from CPU, memory, swap, disk and network interface
- Service information
- File information
- Log monitoring and Widows Event Log
Installation and configuration
apt install zabbix-agent sed -i s/ServerActive=127.0.0.1/ServerActive=192.168.0.18/ /etc/zabbix/zabbix_agentd.conf sed -i s/Server=127.0.0.1/Server=192.168.0.18/ /etc/zabbix/zabbix_agentd.conf
systemctl restart zabbix-agent
systemctl start zabbix-agent
systemctl status zabbix-agent
- Binaries:
zabbix_agentd
,zabbix_sender
- Config file:
/etc/zabbix/zabbix_agentd.conf
- Logs:
/var/log/zabbix-agent/zabbix_agentd.log
Commands:
- Ubuntu 20.04 LTS includes zabbix-agent 4.0.19 (October 2018)
- Ubuntu 18.04 LTS includes zabbix-agent 3.0.12
Activities
- Make sure port 10050 is open on your monitored machine:
iptables -I INPUT -p tcp --dport 10050 -j ACCEPT
- Review ansible-galaxy zabbix agent role:
ansible-galaxy install dj-wasabi.zabbix-agent
Related commands
See also
Advertising: