Skip to header Skip to main navigation Skip to main content Skip to footer

Search form

Site branding

Home
What's up, home?

Main navigation

  • Home
  • Story mode
  • About
  • Features
  • Hardware list
  • Videos
  • GitHub (opens in new tab)
  • Daily AI generated stories (opens in new tab)

Part 97: Monitor your GitHub repos with Zabbix

Breadcrumbs

Breadcrumb

  • Home
  • Part 97: Monitor your GitHub repos with Zabbix

Main page content

By whatsuphome | 10:41 PM EEST, Mon September 23, 2024

TL;DR

Zabbix 7.0.4 added an official GitHub repository monitoring template that I imported and applied to my What's up, home? repo. After setting a few macros, the template pulls stars, forks, issues, pull requests, and API usage data into a preconfigured
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

 

 

 

 

 

 

 

whatsuphome
zabbix
templates
github
  • 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.
Zabbix 7.0.4 added an official GitHub repository monitoring template that I imported and applied to my What's up, home? repo. After setting a few macros, the template pulls stars, forks, issues, pull requests, and API usage data into a preconfigured

Search

Who am I?

  • Janne Pikkarainen from Finland 🇫🇮
  • Began with computers in 1986 with C64
  • Doing IT for living since 1999
  • Principal Site Reliability Engineer at Forcepoint
  • A Zabbix Summit speaker every year since 2022
  • Walking, talking Zabbix commercial

Support my project

Buy me a coffee 

Footer menu

  • Contact

What's up, home? | Janne Pikkarainen | contact(at)whatsuphome.fi | 2022 - 2026

Developed and Designed by Janne Pikkarainen