Skip to content

Commit

Permalink
sync in numble check
Browse files Browse the repository at this point in the history
  • Loading branch information
paulczar committed Mar 6, 2015
1 parent dfb11ae commit 7937056
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sensu/plugins/nimble-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def _check_array_free(self):
total_mb = self._get_array_total_mb(array)
free_mb = self._get_array_available_mb(array)
free_percent = 100 * float(free_mb)/float(total_mb)
print "%s: %s mb Total, %s mb Used, %s percent free" % (array, total_mb, free_mb, free_percent)
if self.options.critical and free_percent < self.options.critical:
crit_arrays.append(array)
elif self.options.warning and free_percent < self.options.warning:
Expand Down

0 comments on commit 7937056

Please sign in to comment.