diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index e9f1a141028..7b7b25055c7 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -2400,6 +2400,7 @@ snmp_interface_weathermap | **Optional.** Output data for ["weathermap" lines] snmp_perf | **Optional.** Enable perfdata values. Defaults to true. snmp_timeout | **Optional.** The command timeout in seconds. Defaults to 5 seconds. snmp_interface_admin | **Optional.** Use administrative status instead of operational. Defaults to false. +snmp_interface_olength | **Optional.** Max-size of the SNMP message, useful in case of Too Long responses. ### snmp-process diff --git a/itl/command-plugins-manubulon.conf b/itl/command-plugins-manubulon.conf index 67e2af93bd9..f378f050f99 100644 --- a/itl/command-plugins-manubulon.conf +++ b/itl/command-plugins-manubulon.conf @@ -302,6 +302,10 @@ object CheckCommand "snmp-interface" { set_if = "$snmp_interface_admin$" description = "Use administrative status instead of operational" } + "-o" = { + value = "$snmp_interface_olength$" + description = "Max-size of the SNMP message, useful in case of Too Long responses." + } } vars.snmp_interface = "eth0"