Creating Zabbix simple checks and the Zabbix trapper
In this recipe, we will go over two checks that can help you build some more customized setups. The Zabbix simple checks provide you with an easy way to monitor some specific data. The Zabbix trapper combines with Zabbix sender to get data from your hosts into the server, allowing for some scripting options. Let's get started.
Getting ready
To create these checks, we will need a Zabbix server and a Linux host to monitor. We can use the host with a Zabbix agent and SNMP monitoring from the previous recipes.
Do note for these checks that we do not actually need the Zabbix agent.
How to do it…
Working with simple checks is quite simple, as the name suggests, so let's start.
Creating simple checks
We will create a simple check to monitor whether a service is running and accepting TCP connections on a certain port:
- To get this done, we will need to create a new host in the Zabbix frontend...