Setting up HTTP agent monitoring
With the Zabbix HTTP agent, we can monitor a web page or API by retrieving data from it. For instance, if there’s a counter on a web page and we want to keep an eye on that counter value, we can do so with the Zabbix HTTP monitor.
Getting ready
For this recipe, we’re going to need a web page to monitor, as well as our Zabbix server. For this lab, we will use Zabbix update v1: https://services.zabbix.com/updates/v1.
Please note that your Zabbix server will need an active internet connection for this recipe.
How to do it…
Let’s poll the web page from Zabbix so that it shows the latest version of Zabbix 7.0 that’s currently available:
- Navigate to your Zabbix frontend and navigate to Data collection | Hosts. Then, click the
lar-book-agent_simple
host. - Now, go to Items; we want to create a new item here by clicking the Create item button. We are going to need to create an HTTP agent item, as shown...