Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed the uom from ram

  • Loading branch information...
commit 334ad751b64df0983e92dd6ad49449c7158c2e6d 1 parent 89cd32c
Jason Draper authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  check_memory.rb
View
2  check_memory.rb
@@ -54,7 +54,7 @@ def bytes_to_megabytes bytes
#setup the performance data
value = percent.to_i
- uom="%"
+ uom=""
performance_data= "#{perf_label}=#{value}#{uom};#{warning};#{critical};#{min};#{max}"
end
output_text = "#{status} #{percent.to_i}% free Installed Memory: #{total_memory }MB Free memory = #{total_free_memory}MB "
Please sign in to comment.
Something went wrong with that request. Please try again.