Would you like to learn how to use the Zabbix Ping monitor feature? In this tutorial, we are going to show you how to configure Zabbix to monitor a Host using ICMP packages.

• Zabbix version: 3.4.12
• Ubuntu Linux version: 18

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.

Tutorial - Enable Zabbix ICMP Ping Monitoring

First, we need to install the FPING package to enable Zabbix to perform ICMP checks.

We also need to take note of the FPING program location.

Use the WHICH command to find out the FPING program location.

Copy to Clipboard

In our example, the FPING program was found at:

Copy to Clipboard

Next, we need to edit the Zabbix server configuration file and enable the ICMP monitor feature.

On the Linux console, use the following commands to find the location of the zabbix_server configuration file.

Copy to Clipboard

Edit the configuration file.

Copy to Clipboard

Here is the original file, before our configuration.

Copy to Clipboard

Add at the end of this file.

Copy to Clipboard

Here is the new file with our configuration.

Copy to Clipboard

The Zabbix server was configured to start automatically 10 processes to collect ICMP PING information.

The Zabbix server was told the correct path to the FPING command.

Now, you need to restart the Zabbix service.

If you used our installation guide, you can restart Zabbix using the following command:

Copy to Clipboard

If the Zabbix server was started successfully, you should see a message similar to this on the log file:

Copy to Clipboard

In our example, the Zabbix server log file zabbix_server is located inside the TMP directory.

In our example, the Zabbix server started  10 ICMP PING data collector processes automatically.

Congratulations! you have enabled the feature required to monitor ICMP PING on Zabbix.

You can now use the Zabbix server dashboard to monitor ICMP PING.

Tutorial - Zabbix Monitor ICMP Ping

Now, we need to access the Zabbix server dashboard and add the Linux computer as a Host.

Open your browser and enter the IP address of your web server plus /zabbix.

In our example, the following URL was entered in the Browser:

• http://35.162.85.57/zabbix

On the login screen, use the default username and default password.

• Default Username: Admin
• Default Password: zabbix

zabbix login

After a successful login, you will be sent to the Zabbix Dashboard.

zabbix dashboard

On the dashboard screen, access the Configuration menu and select the Host option.

zabbix add host

On the top right of the screen, click on the Create host button.

Zabbix Create Host

On the Host configuration screen, you will have to enter the following information:

• Host Name - Enter a Hostname to monitor.
• Visible Hostname - Repeat the hostname.
• New group - Enter a name to identify a group of similar devices.
• Agent Interface - Enter the IP address of the Hostname.

Here is the original image, before our configuration.

zabbix linux - Antes

Here is the new image with our configuration.

Zabbix Host ICMP PING

Click on the Add button to include this host on the Zabbix database.

On the dashboard screen, access the Configuration menu and select the Host option.

zabbix add host

Locate and click on the hostname that you created before.

In our example, we selected the hostname: GOOGLE

On the Host properties screen, access the Applications tab.

Zabbix ICMP Application menu

On the top right part of the screen, click on the Create application button.

Zabbix ICMP Create Application

On the Host applications screen, create a new application named TEST-ICMP.

Zabbix ICMP Application

After finishing the Application creation, access the Items tab.

Zabbix ICMP Item

On the top right part of the screen, click on the Create item button.

On the Item creation screen, you need to configure the following items:

• Name: Enter an identification to the ICMP monitoring item.
• Type: Simple check
• Type of Information: Numeric (Unsigned)
• Update interval: 60 Seconds
• Show value: Service State
• Application: TEST-ICMP

Zabbix ICMPPing Simple check

Click on the Add button and finish the Item creation.

Wait 5 minutes.

In order to test your configuration, access the Monitoring menu and click on the Latest data option.

Zabbix Latest data

Use the filter configuration to select the desired hostname.

In our example, we selected the hostname GOOGLE

Click on the Apply button.

Zabbix ICMP Filter

You should be able to see the results of your ICMP PING monitoring using Zabbix.

Zabbix ICMP Monitor

Congratulations! You have configured the Zabbix server to monitor a host using ICMP PING.

It is important to say that Zabbix comes with a very complete ICMP PING monitor template.

If you decide to use the ICMP template you don't have to do everything manually, as we did.

To use the Zabbix ICMP template, after adding a new host.

Access the Templates tab and associate the template named: Template module ICMP Ping

Zabbix ICMP template

This video will show you how to monitor a host using the ICMP template.