Using agent items
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.
Getting the page
The most simple web page-related agent item key, web.page.get ...
Get Zabbix: Enterprise Network Monitoring Made Easy now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.