Skip to content

Instantly share code, notes, and snippets.

View MarvinLind's full-sized avatar

MarvinLind

View GitHub Profile
@MarvinLind
MarvinLind / bacula-dashing-widget.md
Created February 9, 2016 07:36 — forked from visibilityspots/bacula-dashing-widget.md
A dashing widget to show the state of your bacula backups

Bacula widget

We have a dashing dashboard to give an overview of our infrastructure. Icinga, jenkins, foreman, web-services, traffic times.. Almost everything is been captured.. Only for bacula I could not find an existing one.

So I decided to write one myself. The first idea was to scrape the bacula-web overview site and use that output in a dashing screen. Mainly because a missing API for bacula or bacula-web. Nevertheless scraping a website isn't the best idea if that layout changes your quite fucked up..

screenshot

After googling around I came across an exampling of using mysql with ruby. So I decided to use this approach to have an overview of the bacula state since we configured bacula using a mysql database.