Part 97: Monitor your GitHub repos with Zabbix

What's up, home? part 97 cover image

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.

GitHub host config

Lastly, I went to Macros tab and only changed few values.

Macros config

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.

Latest data

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.

Prebuilt dashboard

 

 

 

 

 

 

 

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
Buy me a coffee

Like these posts? Support the project and Buy me a coffee