Skip to content

Commit 4956ab8

Browse files
authored
Update check_purefa_occpy.py
1 parent a8b1f8f commit 4956ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_purefa_occpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def probe(self):
6767
fainfo = self.get_perf()
6868
_log.debug('FA REST call returned "%s" ', fainfo)
6969
occupancy = round(float(fainfo.get('total'))/float(fainfo.get('capacity')), 2) * 100
70-
metric = nagiosplugin.Metric('occupancy', occupancy, '%', min=0),
70+
metric = nagiosplugin.Metric('occupancy', occupancy, '%', min=0, max=100)
7171
return metric
7272

7373

0 commit comments

Comments
 (0)