diff --git a/active_check_traceroute.mkp b/active_check_traceroute.mkp index 1fa711dfb8738d7caf5ba8e42dfd15a0da11910e..3ad9e2fca4f715f043154a0d90a346fcfc7d2edb 100644 Binary files a/active_check_traceroute.mkp and b/active_check_traceroute.mkp differ diff --git a/lib/nagios/plugins/check_traceroute b/lib/nagios/plugins/check_traceroute index dfa229014455cd29ba7a1d06fdf646c2b42bc4e7..e59d9df1180dab60619e29c0d3587e85996874a3 100755 --- a/lib/nagios/plugins/check_traceroute +++ b/lib/nagios/plugins/check_traceroute @@ -3,6 +3,19 @@ # Copyright (C) 2019 tribe29 GmbH - License: GNU General Public License v2 # This file is part of Checkmk (https://checkmk.com). It is subject to the terms and # conditions defined in the file COPYING, which is part of this source code package. +# +# +# adds the following options by thl-cmk[at]outlook[dot]com : +# - service description suffix +# - alternate destination address +# - destination port for UDP/TCP path trace +# - max hops +# - queries per hop +# - source address +# - source interface (needs root permissions). +# +# Source address and source interface uses the "shell=True" option in in +# the "subprocess.Popen" command. This is highly insecure, so be careful. # This check does a traceroute to the specified target host # (usually $HOSTADDRESS$ itself) and checks which route(s) are diff --git a/web/plugins/wato/active_checks_routing.py b/web/plugins/wato/active_checks_routing.py index 474e425250196def5f0ba3ab11432faf62982ad5..a38eccf3e89d09af9187fb4e006725954c39a8eb 100644 --- a/web/plugins/wato/active_checks_routing.py +++ b/web/plugins/wato/active_checks_routing.py @@ -129,6 +129,7 @@ def _valuespec_active_checks_traceroute(): '(incremented as well, default from 1), or some constant destination port for other ' 'methods (with default of 80 for \"tcp\", 53 for \"udp\", etc.)'), maxvalue=65535, + default_value=53, ),), ('destination_address', TextAscii(