Update ITL for windows check_swap 'used' feature

This commit is contained in:
Michael Insel 2018-10-06 20:26:15 +02:00
parent 9390d7e453
commit ad1ab42393
2 changed files with 10 additions and 6 deletions

View File

@ -1637,7 +1637,7 @@ Name | Description
swap\_win\_warn | **Optional**. The warning threshold. Defaults to "10%".
swap\_win\_crit | **Optional**. The critical threshold. Defaults to "5%".
swap\_win\_unit | **Optional**. The unit to display the received value in, thresholds are interpreted in this unit. Defaults to "mb" (megabyte).
swap\_win\_show\_used | **Optional**. Show used swap instead of the free swap.
### update-windows <a id="windows-plugins-update-windows"></a>

View File

@ -258,6 +258,10 @@ object CheckCommand "swap-windows" {
value = "$swap_win_unit$"
description = "Unit to display swap in"
}
"-U" = {
set_if = "$swap_win_show_used$"
description = "Show used swap instead of the free swap"
}
}
// Default