mirror of https://github.com/Icinga/icinga2.git
parent
60c52f2109
commit
b0e6eb0ca4
|
@ -2036,8 +2036,8 @@ iftraffic_community | **Optional.** SNMP community. Defaults to "public'" if omi
|
|||
iftraffic_interface | **Required.** Queried interface name.
|
||||
iftraffic_bandwidth | **Required.** Interface maximum speed in kilo/mega/giga/bits per second.
|
||||
iftraffic_units | **Optional.** Interface units can be one of these values: `g` (gigabits/s),`m` (megabits/s), `k` (kilobits/s),`b` (bits/s)
|
||||
iftraffic_warn | **Optional.** Percent of bandwidth usage necessary to result in warning status (defaults to `85%`).
|
||||
iftraffic_crit | **Optional.** Percent of bandwidth usage necessary to result in critical status (defaults to `98%`).
|
||||
iftraffic_warn | **Optional.** Percent of bandwidth usage necessary to result in warning status (defaults to `85`).
|
||||
iftraffic_crit | **Optional.** Percent of bandwidth usage necessary to result in critical status (defaults to `98`).
|
||||
iftraffic_max_counter | **Optional.** Maximum counter value of net devices in kilo/mega/giga/bytes.
|
||||
|
||||
#### <a id="plugins-contrib-command-iftraffic64"></a> iftraffic64
|
||||
|
|
|
@ -324,11 +324,11 @@ object CheckCommand "iftraffic" {
|
|||
}
|
||||
"-w" = {
|
||||
value = "$iftraffic_warn$"
|
||||
description = "% of bandwidth usage necessary to result in warning status (default: 85%)"
|
||||
description = "% of bandwidth usage necessary to result in warning status (default: 85)"
|
||||
}
|
||||
"-c" = {
|
||||
value = "$iftraffic_crit$"
|
||||
description = "% of bandwidth usage necessary to result in critical status (default: 98%)"
|
||||
description = "% of bandwidth usage necessary to result in critical status (default: 98)"
|
||||
}
|
||||
"-M" = {
|
||||
value = "$iftraffic_max_counter$"
|
||||
|
@ -337,8 +337,8 @@ object CheckCommand "iftraffic" {
|
|||
}
|
||||
|
||||
vars.iftraffic_address = "$check_address$"
|
||||
vars.iftraffic_warn = "85%"
|
||||
vars.iftraffic_crit = "98%"
|
||||
vars.iftraffic_warn = "85"
|
||||
vars.iftraffic_crit = "98"
|
||||
}
|
||||
|
||||
object CheckCommand "iftraffic64" {
|
||||
|
@ -373,11 +373,11 @@ object CheckCommand "iftraffic64" {
|
|||
}
|
||||
"-w" = {
|
||||
value = "$iftraffic64_warn$"
|
||||
description = "% of bandwidth usage necessary to result in warning status (default: 85%)"
|
||||
description = "% of bandwidth usage necessary to result in warning status (default: 85)"
|
||||
}
|
||||
"-c" = {
|
||||
value = "$iftraffic64_crit$"
|
||||
description = "% of bandwidth usage necessary to result in critical status (default: 98%)"
|
||||
description = "% of bandwidth usage necessary to result in critical status (default: 98)"
|
||||
}
|
||||
"-M" = {
|
||||
value = "$iftraffic64_max_counter$"
|
||||
|
|
Loading…
Reference in New Issue