aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Sven Nierlein <sven@nierlein.org> 2014-06-28 22:23:03 +0200
committerGravatar Sven Nierlein <sven@nierlein.org> 2014-06-28 22:23:03 +0200
commit8d6c1833477bd3c3202cf7c94ec39c40ed9c2902 (patch)
tree397ac9ad0fe1ea2b85c334f4e13a47a85ff856a0 /plugins
parentea8ab2002cd72f657582f4dd0a0580bd10131401 (diff)
parent6e12805fa4fab1ee6109527313e56a4756bb3363 (diff)
downloadmonitoring-plugins-8d6c1833477bd3c3202cf7c94ec39c40ed9c2902.tar.gz
Merge pull request #1264 from waja/check_nt_units
check_nt.c - Changed 'Mb' to 'MB' in MEMUSE.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index cacf6651..fefbfb7a 100644
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
@@ -293,10 +293,10 @@ int main(int argc, char **argv){
/* Divisor should be 1048567, not 3044515, as we are measuring "Commit Charge" here,
which equals RAM + Pagefiles. */
- xasprintf(&output_message,_("Memory usage: total:%.2f Mb - used: %.2f Mb (%.0f%%) - free: %.2f Mb (%.0f%%)"),
+ xasprintf(&output_message,_("Memory usage: total:%.2f MB - used: %.2f MB (%.0f%%) - free: %.2f MB (%.0f%%)"),
mem_commitLimit / 1048567, mem_commitByte / 1048567, percent_used_space,
(mem_commitLimit - mem_commitByte) / 1048567, (mem_commitLimit - mem_commitByte) / mem_commitLimit * 100);
- xasprintf(&perfdata,_("'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f"), mem_commitByte / 1048567,
+ xasprintf(&perfdata,_("'Memory usage'=%.2fMB;%.2f;%.2f;0.00;%.2f"), mem_commitByte / 1048567,
warning_used_space / 1048567, critical_used_space / 1048567, mem_commitLimit / 1048567);
return_code=STATE_OK;