Skip to content

Commit

Permalink
Proxmox 6.2-9 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Maderer committed Jul 28, 2020
1 parent aadce8d commit 3588ef2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check_mk/checks/proxmox_qemu_backup
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ def check_qemu_backup(item, params, info):
try:
#extract several infos
#proxmox 6.2-9 introduced a new log-format
if line[offset+5] == 'vzdump':
if line[offset+5] == 'vzdump':
if line[offset+3] + ' ' + line[offset+4] + ' ' + line[offset+5] + ' ' + line[offset+6] == 'INFO: creating vzdump archive':
file_created = line
startdate = getDateFromFileCreated(file_created[offset+7].split("/")[-1])
else:
else:
if line[offset+3] + ' ' + line[offset+4] + ' ' + line[offset+5] == 'INFO: creating archive':
file_created = line
startdate = getDateFromFileCreated(file_created[offset+6].split("/")[-1])
Expand Down
Binary file modified dist/proxmox_qemu_backup-1.1.1.mkp
Binary file not shown.

0 comments on commit 3588ef2

Please sign in to comment.