Enhance snmp_interface_extended_checks documentation

This commit is contained in:
Michal Moravec 2019-11-04 09:33:48 +01:00
parent e4d78ce330
commit 576266a1bf
2 changed files with 2 additions and 2 deletions

View File

@ -2069,7 +2069,7 @@ snmp_interface_kbits | **Optional.** Make the warning and critical levels
snmp_interface_megabytes | **Optional.** Make the warning and critical levels in Mbps or MBps. **Depends** on snmp_interface_kbits set to true. Defaults to true.
snmp_interface_64bit | **Optional.** Use 64 bits counters instead of the standard counters when checking bandwidth & performance data for interface >= 1Gbps. Defaults to false.
snmp_interface_errors | **Optional.** Add error & discard to Perfparse output. Defaults to true.
snmp_interface_extended_checks | **Optional.** Also check the error and discard input/output. Defaults to false.
snmp_interface_extended_checks | **Optional.** Also check the error and discard input/output. When enabled format of `snmp_warn` and `snmp_crit` changes to <In bytes>,<Out bytes>,<In error>,<Out error>,<In disc>,<Out disc>. More options available in the [snmp interface](http://nagios.manubulon.com/snmp_int.html) documentation. Defaults to false.
snmp_interface_noregexp | **Optional.** Do not use regexp to match interface name in description OID. Defaults to false.
snmp_interface_delta | **Optional.** Delta time of perfcheck. Defaults to "300" (5 min).
snmp_interface_warncrit_percent | **Optional.** Make the warning and critical levels in % of reported interface speed. If set, **snmp_interface_megabytes** needs to be set to false. Defaults to false.

View File

@ -273,7 +273,7 @@ object CheckCommand "snmp-interface" {
}
"-q" = {
set_if = "$snmp_interface_extended_checks$"
description = "Also check the error and discard input/output"
description = "Also check the error and discard input/output. When enabled format of snmp_warn and snmp_crit changes to <In bytes>,<Out bytes>,<In error>,<Out error>,<In disc>,<Out disc>"
}
"-i" = {
set_if = "$snmp_interface_inverse$"