While checking Zabbix 7.0.4rc1 release notes, I noticed this little change:
Added GitHub repository by HTTP template Templates |
... and true enough, git.zabbix.com already has the template available for download. Of course I had to try that out.
Installing the template
Installing the template is just like installing any other template. Download it, import it via Data collection -> Templates -> Import, you are done.
Next I created a new host, called it github-whatsuphome, and assigned the new template for it.
Lastly, I went to Macros tab and only changed few values.
All done!
Checking if it works
I went to Monitoring -> Latest data and checked the status for my new host. To speed things up for the initial data, I selected all the items and clicked on Execute now. Few moments later, this happened.
The template also comes with a preconfigured dashboard. My personal GitHub space is not anywhere near as active as a popular project repo would be, but you get the idea what kind of data you would get on your dashboard and how the example dashboard has been setup. Looking good!
The dashboards shows you all the basic info about your repository, and if you so wish, you can use the predefined alerts to get a notification for example if a new issue or a pull request would be opened, or if your API usage rate would be too high, or there would be API request errors.
Add new comment