Merge pull request #6646 from teclogi/master

Update ITL and Docs for memory-windows - show used
This commit is contained in:
Michael Friedrich 2018-10-08 16:55:09 +02:00 committed by GitHub
commit 2083910090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -1546,6 +1546,7 @@ Name | Description
memory\_win\_warn | **Optional**. The warning threshold. Defaults to "10%".
memory\_win\_crit | **Optional**. The critical threshold. Defaults to "5%".
memory\_win\_unit | **Optional**. The unit to display the received value in, thresholds are interpreted in this unit. Defaults to "mb" (megabyte), possible values are: b, kb, mb, gb and tb.
memory\_win\_show\_used | **Optional**. Show used memory instead of the free memory.
### network-windows <a id="windows-plugins-network-windows"></a>

View File

@ -85,6 +85,10 @@ object CheckCommand "memory-windows" {
value = "$memory_win_unit$"
description = "Use this unit to display memory"
}
"-U" = {
set_if = "$memory_win_show_used$"
description = "Show used memory instead of the free memory"
}
}
//The default