From 3c05885638c19b95b5098ea475b016b0d824b268 Mon Sep 17 00:00:00 2001 From: Georg Haas Date: Sat, 28 Jan 2017 19:54:52 +0100 Subject: [PATCH] ITL: check_icmp: add missing TTL attribute fixes #4964 Signed-off-by: Michael Friedrich --- AUTHORS | 1 + doc/10-icinga-template-library.md | 1 + itl/command-plugins.conf | 1 + 3 files changed, 3 insertions(+) diff --git a/AUTHORS b/AUTHORS index 0bdbd9fd5..09b47e29b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -41,6 +41,7 @@ Evgeni Golov Ferdi Gueran Gaƫl Beaudoin Georg Faerber +Georg Haas Gerd von Egidy Gunnar Beutner Hannes Van de Vel diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 1f69dc19f..eb192f6b9 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -628,6 +628,7 @@ icmp_target_interval | **Optional.** The maximum target interval. icmp_hosts_alive | **Optional.** The number of hosts which have to be alive for the check to succeed. icmp_data_bytes | **Optional.** Payload size for each ICMP request. Defaults to 8. icmp_timeout | **Optional.** The plugin timeout in seconds. Defaults to 10 (seconds). +icmp_ttl | **Optional.** The TTL on outgoing packets. ### imap diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index 055839913..630d0c548 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -1778,6 +1778,7 @@ object CheckCommand "icmp" { "-m" = "$icmp_hosts_alive$" "-b" = "$icmp_data_bytes$" "-t" = "$icmp_timeout$" + "-l" = "$icmp_ttl$" } vars.icmp_address = "$address$"