Would you like to learn how to use the Zabbix_get command? Our tutorial will show you multiple Zabbix_get examples
• Ubuntu 18.04
• Ubuntu 19.04
• Ubuntu 20.04
• Zabbix 5.0.2
In our example, the IP address of the Zabbix server is 192.168.100.10.
In our example, the IP address of the Linux computer running the Zabbix agent is 192.168.100.9.
Zabbix Playlist:
On this page, we offer quick access to a list of videos related to Zabbix installation.
Don’t forget to subscribe to our youtube channel named FKIT.
Zabbix Related Tutorial:
On this page, we offer quick access to a list of tutorials related to Zabbix installation.
Tutorial Zabbix_get – Requirements
Only a list of authorized hosts is able to remotely request information from a Zabbix agent.
Here is the example of a Zabbix agent configuration file.
In our example, the following IP addresses are authorized to request information from this Zabbix agent.
- 127.0.0.1
- 200.200.200.200
- 192.168.100.10
In our example, this computer was configured to use the following network monitoring template:
- Template OS Linux by Zabbix agent
Here are some examples showing how to use the command ZABBIX_GET.
Zabbix_get Example – Verify the Zabbix agent version
Verify the version of the Zabbix agent installed on a remote computer using the Zabbix_get command.
Here is the command output.
In our example, the Zabbix agent reported that it is using version 5.0.2.
Zabbix_get Example – Verify the Zabbix agent status
Verify the Zabbix agent status on a remote computer using the Zabbix_get command.
Here is the command output.
In our example, the Zabbix agent reported that it is up and running.
Zabbix_get Example – Verify the Hostname
Verify the hostname of a remote computer using the Zabbix_get command.
Here is the command output.
In our example, the Zabbix agent reported the hostname: LINUX.
Zabbix_get Example – Verify the Operating system version
Verify the Operating system on a remote computer using the Zabbix_get command.
Here is the command output.
In our example, the Zabbix agent reported the use of Ubuntu Linux.
Zabbix_get Example – Verify the CPU utilization
Verify the CPU utilization percentage of a remote computer using the Zabbix_get command.
Here is the command output.
Zabbix_get Example – List network interfaces
Verify the list of network interfaces available on the remote computer using the Zabbix_get command.
Here is the command output.
In our example, the Zabbix agent reported two network interfaces named: ETH0 and LO.
Zabbix_get Example – Network interface statistics
Verify the number of Bits received by the network interface ETH0.
Here is the command output.
Verify the number of Bits sent by the network interface ETH0.
Here is the command output.
Keep in mind that these values are displayed in Bits.
Zabbix_get Example – List disk partitions
Verify the list of disk partitions available on the remote computer using the Zabbix_get command.
Here is the command output.
In our example, the Zabbix agent reported multiple disk partitions.
Zabbix_get Example – Disk partition statistics
Verify the percentual utilization of the root partition of the remote computer using the Zabbix_get command.
Here is the command output.
Verify the number of Bytes used on the root partition of the remote computer using the Zabbix_get command.
Here is the command output.
Keep in mind that these values are presented in Bytes.