We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3c0d26 commit 457dd49Copy full SHA for 457dd49
check_synology.py
@@ -144,7 +144,7 @@ def exitCode():
144
if critical and critical < int(storage_used_percent):
145
state = 'CRITICAL'
146
147
- 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) + '%)'
148
perfdata += storage_name + '=' + str(storage_used) + 'c '
149
print('%s%s %s' % (state, output, perfdata))
150
exitCode()
0 commit comments