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

Missing PSQL connection #27

Closed TheCry closed 1 year ago

TheCry commented 1 year ago

In version 1.0.2 there was still possible to use the script with PosgreSQL. parser.add_argument('-d', '--database', dest='database', choices=['mysql', 'm', 'postgresql', 'p', 'psql'], default='mysql', help='the database kind for the database connection (m=mysql, p=psql) (Default=Mysql)')

After version 20 Bareos doesn't support MySQL anymore. It will be greate if you add PostgreSQL support Thanks Regards Sascha

martialblog commented 1 year ago

Hi, are you using the latest version? It now only supports PostgreSQL and the -d flag was repurposed to mean the database name

TheCry commented 1 year ago

Oh my god..Sometimes i'm little bit blind. Yes i'm using the last version and without -d it works perfect.. Sorry

martialblog commented 1 year ago

@TheCry No worries :smile_cat: glad to hear it's working.

Let me know if you have further questions/issues with the new version. Feedback on the new version is very welcome