mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-03 11:54:30 +02:00
Update ITL for windows check_swap 'used' feature
This commit is contained in:
parent
9390d7e453
commit
ad1ab42393
@ -1633,11 +1633,11 @@ The data collection is instant.
|
|||||||
Custom attributes:
|
Custom attributes:
|
||||||
|
|
||||||
Name | Description
|
Name | Description
|
||||||
:---------------|:------------
|
:--------------- | :------------
|
||||||
swap\_win\_warn | **Optional**. The warning threshold. Defaults to "10%".
|
swap\_win\_warn | **Optional**. The warning threshold. Defaults to "10%".
|
||||||
swap\_win\_crit | **Optional**. The critical threshold. Defaults to "5%".
|
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\_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>
|
### update-windows <a id="windows-plugins-update-windows"></a>
|
||||||
|
|
||||||
|
@ -258,6 +258,10 @@ object CheckCommand "swap-windows" {
|
|||||||
value = "$swap_win_unit$"
|
value = "$swap_win_unit$"
|
||||||
description = "Unit to display swap in"
|
description = "Unit to display swap in"
|
||||||
}
|
}
|
||||||
|
"-U" = {
|
||||||
|
set_if = "$swap_win_show_used$"
|
||||||
|
description = "Show used swap instead of the free swap"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Default
|
// Default
|
||||||
|
Loading…
x
Reference in New Issue
Block a user