Zabbix Internet Connectivity Check

Simple HowTo create a Internet Connectivity Check for Zabbix.

Create new Host

Create a new Host named “Network connectivity checks”

You do not need to add any Interfaces.

Add Web Scenario to Host

On our newly created Host go to “Web Scenarios”.

Press “Create web Scenario”

You can use your own Server or check Google.

For our Example we are going to use google.

Name of new Scenario: “Check Google Connectivity”

Update-Interval: 5m

Agent: Zabbix

Go to the Steps Tab and press “Add”

Name: “Google”

URL: “https://www.google.com”

Required Status Code: 200

Press the Add-Button to add the Step and than Add to add the Scenario.

Create a Trigger

Now we go to the Triggers Tab and pres “Create trigger”.

Name: “Google Accessibility {ITEM.VALUE}”

Severity: High

Expression:

length(last(/Network connectivity checks/web.test.error[Check Google Connectivity]))>0 and last(/Network connectivity checks/web.test.fail[Check Google Connectivity])>0

Press Add and we are Finished.

Now if you want to test it, disconnect from the Internet and wait a moment.

A new Problem should be created. If you have In-House Mailing (no internet contection required) you should get a new Problem-Notification from Zabbix.