Difference between revisions of "Zabbix agent"
Jump to navigation
Jump to search
(8 intermediate revisions by one other user not shown) | |||
Line 11: | Line 11: | ||
== Installation and configuration == | == Installation and configuration == | ||
apt install zabbix-agent | 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/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 | [[sed]] -i s/Server=127.0.0.1/Server=192.168.0.18/ /etc/zabbix/zabbix_agentd.conf | ||
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> | ||
Line 30: | Line 31: | ||
* [[Ubuntu 20.04 LTS]] includes [[zabbix-agent 4.0]].19 (October 2018) | * [[Ubuntu 20.04 LTS]] includes [[zabbix-agent 4.0]].19 (October 2018) | ||
* [[Ubuntu 18.04 LTS]] includes [[zabbix-agent 3.0]].12 | * [[Ubuntu 18.04 LTS]] includes [[zabbix-agent 3.0]].12 | ||
− | |||
== Activities == | == Activities == | ||
* Make sure port 10050 is open on your monitored machine: <code>[[iptables]] -I INPUT -p tcp --dport 10050 -j ACCEPT</code> | * Make sure port 10050 is open on your monitored machine: <code>[[iptables]] -I INPUT -p tcp --dport 10050 -j ACCEPT</code> | ||
* Review [[ansible-galaxy]] zabbix agent role: <code>[[ansible-galaxy install dj-wasabi.zabbix-agent]]</code> | * Review [[ansible-galaxy]] zabbix agent role: <code>[[ansible-galaxy install dj-wasabi.zabbix-agent]]</code> | ||
+ | |||
+ | |||
+ | == Related commands == | ||
+ | * [[Prometheus-node-exporter]] | ||
+ | * <code>[[sadc]]</code> | ||
+ | * [[Metricbeat]] | ||
+ | * [[Add your first Zabbix hosts (monitored machine)]] | ||
+ | * [[CloudWatch agent]] | ||
+ | * [[dpkg]] | ||
== See also == | == See also == | ||
* {{Zabbix}} | * {{Zabbix}} | ||
+ | * {{Metrics collectors}} | ||
* {{Performance}} | * {{Performance}} | ||
[[Category:Monitoring]] | [[Category:Monitoring]] |
Latest revision as of 11:42, 16 September 2021
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[edit]
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[edit]
- 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[edit]
- Prometheus-node-exporter
sadc
- Metricbeat
- Add your first Zabbix hosts (monitored machine)
- CloudWatch agent
- dpkg
See also[edit]
- Zabbix, Zabbix releases, Install Zabbix using Docker, Zabbix agent (
zabbix_agentd.conf
), Zabbix API,zabbix_server
,zabbix_get
,zabbix_sender
,/etc/zabbix/zabbix_server.conf
- Metric colletion tools:
prometheus-node-exporter
,metricbeat
,sysstat
,zabbix_agent
,Icingabeat
, Telegraf, AWS CloudWatch agent - Performance, monitoring, sysstat, metrics, Telemetry
Advertising: