Monitoring the proxy
Having a proxy is nice, but how do you know that your proxy is still running fine? Are the buffers big enough? Do we need to optimize certain settings? And probably most importantly, how do you know when your proxy is not reporting any data? In this recipe, I will show you the answers to those questions.
Getting ready
What do we need ? As usual, we need our Zabbix server with super administration rights and of course, a Zabbix proxy properly configured as we have seen in the recipes setting up an active or a passive proxy.
How to do it…
The first thing we have to do is set up an item on our Zabbix server. Go to Configuration | Hosts and create an item on your proxy.
Use the following parameters to create your item:
Type:
Zabbix internal
Key:
zabbix [proxy, <proxy name>, lastaccess]
Type of information:
Numeric (unsigned)
Data type:
Decimal
Units:
unixtime
When you now look at the latest data, you will see the last access time from your proxy on the Zabbix server...