The web scenario-based monitoring we just set up is quite powerful, but there might be cases when a more simple approach would be enough. On the agent level, there are some interesting item keys that allow retrieving web pages and performing simple verification. An additional benefit is the ability to do that from any agent, so it is very easy to check web page availability from multiple geographically distributed locations. There are three web page-related item keys:
web.page.get
web.page.perf
web.page.regexp
Tip
Also keep in mind the more simple item keys such as net.tcp.service
, discussed in Chapter 3, Monitoring with Zabbix Agents and Basic Protocols.
The most simple web page-related agent item key, web.page.get
, allows us to retrieve page content. The same as scenario-based web monitoring, it does not retrieve any included content, such as images. Let's create a simple item with this key. Navigate to Configuration | Hosts, and select Web pages in the...