NETWAYS / check_bareos

Icinga Plugin to check Bareos Backup Director databases
https://www.netways.de/
GNU General Public License v3.0
8 stars 7 forks source link

Refactor Plugin to use Bareos API #25

Closed martialblog closed 1 year ago

martialblog commented 1 year ago

A lot has changed in the recent Bareos releases. Starting with Bareos 21 (released on December 22, 2021), it no longer supports MySQL.

Even more interesting Bareos 20 introduced REST API. So no longer do we need to query the DB, but can talk JSON with the API. I think this would simplify the Plugin and be way easier to test.

We should try to write a POC in the near future.

martialblog commented 1 year ago

Did some experiments with the API. I think for now the direct DB access is more flexible.

We will still aim a rewrite in Go.