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

Script not working latest bareos with MariaDB 5.5.52 #18

Closed marcelmfs closed 2 years ago

marcelmfs commented 7 years ago
Traceback (most recent call last):
  File "./check_bareos.py", line 634, in <module>
    args.func(args)
  File "./check_bareos.py", line 581, in checkTape
    checkResult = checkEmptyTapes(cursor, args.warning, args.critical)
  File "./check_bareos.py", line 448, in checkEmptyTapes
    courser.execute(query)
  File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
_mysql_exceptions.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '::INTERVAL)<now() and VolStatus not like 'Error')' at line 6")
widhalmt commented 3 years ago

I'm sorry, I don't have the resources to reproduce the error right now. I'll find more team members to work on it. Sorry for the inconvenience.

martialblog commented 2 years ago

Hi, if the issue still persists please check out the latest release.

Have a good one