Skip to content

Commit

Permalink
Translate disk output (#11)
Browse files Browse the repository at this point in the history
Translate output from German into English
  • Loading branch information
KreativeKrise authored Feb 16, 2021
1 parent e3c0d26 commit 457dd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_synology.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def exitCode():
if critical and critical < int(storage_used_percent):
state = 'CRITICAL'

output += ' - free space: ' + storage_name + ' ' + str(storage_free) + ' GB (' + str(storage_used) + ' GB von ' + str(storage_size) + ' GB belegt, ' + str(storage_used_percent) + '%)'
output += ' - free space: ' + storage_name + ' ' + str(storage_free) + ' GB (' + str(storage_used) + ' GB of ' + str(storage_size) + ' GB used, ' + str(storage_used_percent) + '%)'
perfdata += storage_name + '=' + str(storage_used) + 'c '
print('%s%s %s' % (state, output, perfdata))
exitCode()
Expand Down

0 comments on commit 457dd49

Please sign in to comment.