Allows you to use tables with the dashing framework.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# best practice: linux | |
nano ~/.pgpass | |
*:5432:*:username:password | |
chmod 0600 ~/.pgpass | |
# best practice: windows | |
edit %APPDATA%\postgresql\pgpass.conf | |
*:5432:*:username:password | |
# linux |
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..
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.