diff --git a/package b/package index 71ca09b..3d74782 100644 --- a/package +++ b/package @@ -22,7 +22,7 @@ ]}, 'name': 'winnfs', 'title': u'Check for the Windows NFS Server', - 'version': '0.3', + 'version': '0.4', 'version.min_required': '1.6.0', 'version.packaged': '1.6.0p20', 'version.usable_until': '1.7.0' diff --git a/web/plugins/perfometer/winnfssrv.py b/web/plugins/perfometer/winnfssrv.py index 66df110..e68c68e 100644 --- a/web/plugins/perfometer/winnfssrv.py +++ b/web/plugins/perfometer/winnfssrv.py @@ -7,7 +7,8 @@ def perfometer_winnfssrv(row, check_command, perf_data): for i, color, base, scale, verbfunc in [ (0, "#00FFB2", 10000, 10, lambda v: ("Clients: %d") % v), (1, "#00FFFF", 10000, 10, lambda v: ("Sessions: %d") % v), - ]: val = float(perf_data[i][1]) + ]: + val = float(perf_data[i][1]) h += perfometer_logarithmic(val, base, scale, color) texts.append(verbfunc(val)) h += ''