Overview
This template will discover all your confluence pages in a confluences workspace and report on the view count to show you which documentation you have is used and what is not. This can help you focus new starters on popular documentation and show you which documentation may need to be retired.
Download zabbix confluence template here.
Host Macro Options
Create a host in zabbix and then add your organisation specific details in as Macros on that host, as shown below
The CONF.TOKEN value is a base64 encoded version of your combined confluence email address and API token.
This will discover all your confluence pages under the workspace, minus any matches of CONF.TITLE.FILTER1 and add these discovered pages as items in your host.
It will use the id and title fields from the JSON response to populate aspects of the zabbix items.
Item
Each page discovered will have an item such as below and result in once a week the confluence API being called to return a view count of the page
The confluence API module called is shown below.