From ebe9b389ce1483baf6fa57551fc441b4a868bff4 Mon Sep 17 00:00:00 2001 From: Marsell Kukuljevic Date: Tue, 20 May 2025 17:55:42 +0200 Subject: [PATCH] Remove a couple stale files remaining from renames. --- .../2.2/cisco_ip_sla-1.0.1.mkp | Bin 3724 -> 0 bytes .../wato/check_parameters/cisco_ip_sla.py | 208 ------------------ 2 files changed, 208 deletions(-) delete mode 100644 check_mk-cisco_ip_sla/2.2/cisco_ip_sla-1.0.1.mkp delete mode 100644 check_mk-cisco_ip_sla/2.2/local/lib/python3/cmk/gui/plugins/wato/check_parameters/cisco_ip_sla.py diff --git a/check_mk-cisco_ip_sla/2.2/cisco_ip_sla-1.0.1.mkp b/check_mk-cisco_ip_sla/2.2/cisco_ip_sla-1.0.1.mkp deleted file mode 100644 index 5a71703c805adda2d0d66366841120e75e7ce834..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3724 zcmV;74s-DziwFpwuSR47|6^%$V{cz+a9?w5VJ$H(FfMItZ~*NbYjfK+(x3G!P|UqiYB)3nS!gJdM}oF>nf&+LU4SA%Qj!xpNw481u}NTe zvAb9-77s@F(_rfpLl@v+Z;yTh6n}RQ2K!sRy}f>Kzdt+}96s>oY(SODBRR zx4uqzx9ucy7DU@4w*AY`Y=@nP+=*t~nXvOkEcra%Za3KWgvV|qLMZ|tF<;zC?#J-L zWWeTuFJut0&~e{#$-E$r*%aPg5xW5sA&Wid4_~nfZhbFsCUz2e$cGB2!s9W#z1wzY z+*dD*fMtrEo77e~w zA%*m)=7_{SIb-Lqo`W57+7R9i@YdS*I^BFxXD)m@;{QoR#3xwa?*K;FGjNcdb8XZQ z4TL0it~_ohz7%Mh*MZO9e}?`SF#bD##)1DO$A52782>{=ugCxA82=WI3~R)!{K&A{ z%+ijDRp73B-VP{!;(1U@V-YD)1^n zSY6Bn1X&2D41Pm!lq{ICBMeCMx2!pnGK@#NDt6A_cHCgz>aY`u$Z>M@CwCU$)upOt`ar!xE*5gCue}D$b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be zO0(yawU}?>wt`j01On$&kA=%|CO(-=IUbmff?JMD2a*$T$5toep$AK*ro}LB*jDNc zT3=;HbW0rt3*t_7JDA|9r*96c%$ql8uk8M**8hNpSd-s{l+c6rEmWTvn;C85NcSn!BI&jS~qx+bg0McS$w%%!%#Pfz3aJ{tILk)i?xK6~Uz5Mxc_df^SgZlpG=YV^CL-C34e-8Hdmi@oCKiKN_ zyZu40zW-U@|NN`m|BQk;b3q1-mZJC6XJQ@(KxUg&p_g0>Kkne5>LgNlaf+xG%cR>` zI?UcA9>?oNzX>@z!80&*M5jybh+m6XMhjJ(BEQ6~Sd&lun#Ek+m zxVR+FHVEjujze2rQi+0FeU?Z@=S=TK=g+bo&kJsCJ`d&MFxwJtrE)AImA%w&okW?= z&D;?apW~VL;pL{A7wH|EiW?E80h^VF4TkQ-r`4`Rbcsn(AoJWp-4|uHerl~?rI2$s zRgoflT~D^W#)?Gg%X*URDl5_~-_{cu*Ibb$}0IInoVVil`#b#Z#w zM)C2mc$2+iH@D)oA{JKN=}ke;9vhJ~QrxfVa|Y)-l(&qgkM)_2o^O?7Yc! ze0If|wVDeT*i~#UJWs?NbB34&`0fV!wNp*KLTqdn)lp7d&3*E}SJJU! z4SVmTtYo?0oXAHd9ciucpnK;#_sx5%-K$rX{%o+whpT)P2`OC1`)laj{|KGOk2?k* zC0{IkkMV%Wh94hdxH|oLLtHaINkkH(WJ4~P56C(hG>X=fFF$ES!t`ZBi|SKLYKa~n z7L1K=G(XxAR(#m~ae;Wn*D!zGXqMh7{<`AXr`Gz*gtQg^@4zE?a>lIo#aXY$}Fr-c4^zz#{cN+u<8mw0-+q<_mpY*tI qLk%_5P(uwh)KEhWHPlc;4K>tILk%_5P(uxWEBGIO^Y{z^cmM!48&sD7 diff --git a/check_mk-cisco_ip_sla/2.2/local/lib/python3/cmk/gui/plugins/wato/check_parameters/cisco_ip_sla.py b/check_mk-cisco_ip_sla/2.2/local/lib/python3/cmk/gui/plugins/wato/check_parameters/cisco_ip_sla.py deleted file mode 100644 index 2931e30..0000000 --- a/check_mk-cisco_ip_sla/2.2/local/lib/python3/cmk/gui/plugins/wato/check_parameters/cisco_ip_sla.py +++ /dev/null @@ -1,208 +0,0 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- -# 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. - -from cmk.gui.i18n import _ -from cmk.gui.plugins.wato.utils import ( - CheckParameterRulespecWithItem, - rulespec_registry, - RulespecGroupCheckParametersNetworking, -) -from cmk.gui.valuespec import Dictionary, DropdownChoice, Integer, TextInput, Tuple - - -def _item_spec_cisco_ip_sla(): - return TextInput( - title=_("RTT row index of the service"), - allow_empty=True, - ) - - -def _parameter_valuespec_cisco_ip_sla(): - return Dictionary( - elements=[ - ( - "rtt_type", - DropdownChoice( - title=_("RTT type"), - choices=[ - ("echo", _("echo")), - ("path echo", _("path echo")), - ("file IO", _("file IO")), - ("UDP echo", _("UDP echo")), - ("TCP connect", _("TCP connect")), - ("HTTP", _("HTTP")), - ("DNS", _("DNS")), - ("jitter", _("jitter")), - ("DLSw", _("DLSw")), - ("DHCP", _("DHCP")), - ("FTP", _("FTP")), - ("VoIP", _("VoIP")), - ("RTP", _("RTP")), - ("LSP group", _("LSP group")), - ("ICMP jitter", _("ICMP jitter")), - ("LSP ping", _("LSP ping")), - ("LSP trace", _("LSP trace")), - ("ethernet ping", _("ethernet ping")), - ("ethernet jitter", _("ethernet jitter")), - ("LSP ping pseudowire", _("LSP ping pseudowire")), - ], - default_value="echo", - ), - ), - ( - "threshold", - Integer( - title=_("Treshold"), - help=_( - "Depending on the precision the unit can be " - "either milliseconds or micoseconds." - ), - unit=_("ms/us"), - minvalue=1, - default_value=5000, - ), - ), - ( - "state", - DropdownChoice( - title=_("State"), - choices=[ - ("active", _("active")), - ("inactive", _("inactive")), - ("reset", _("reset")), - ("orderly stop", _("orderly stop")), - ("immediate stop", _("immediate stop")), - ("pending", _("pending")), - ("restart", _("restart")), - ], - default_value="active", - ), - ), - ( - "connection_lost_occured", - DropdownChoice( - title=_("Connection lost occured"), - choices=[ - ("yes", _("yes")), - ("no", _("no")), - ], - default_value="no", - ), - ), - ( - "timeout_occured", - DropdownChoice( - title=_("Timeout occured"), - choices=[ - ("yes", _("yes")), - ("no", _("no")), - ], - default_value="no", - ), - ), - ( - "completion_time_over_treshold_occured", - DropdownChoice( - title=_("Completion time over treshold occured"), - choices=[ - ("yes", _("yes")), - ("no", _("no")), - ], - default_value="no", - ), - ), - ( - "latest_rtt_completion_time", - Tuple( - title=_("Latest RTT completion time"), - help=_( - "Depending on the precision the unit can be " - "either milliseconds or micoseconds." - ), - elements=[ - Integer( - title=_("Warning at"), - unit=_("ms/us"), - minvalue=1, - default_value=100, - ), - Integer( - title=_("Critical at"), - unit=_("ms/us"), - minvalue=1, - default_value=200, - ), - ], - ), - ), - ( - "latest_rtt_state", - DropdownChoice( - title=_("Latest RTT state"), - choices=[ - ("ok", _("OK")), - ("disconnected", _("disconnected")), - ("over treshold", _("over treshold")), - ("timeout", _("timeout")), - ("other", _("other")), - ], - default_value="ok", - ), - ), - ( - "packets_lost_src->dest", - Tuple( - title=_("Packets lost src->dest"), - elements=[ - Integer( - title=_("Warning at"), - unit=_("packets"), - minvalue=1, - default_value=100, - ), - Integer( - title=_("Critical at"), - unit=_("packets"), - minvalue=1, - default_value=1000, - ), - ], - ), - ), - ( - "packets_lost_dest->src", - Tuple( - title=_("Packets lost dest->src"), - elements=[ - Integer( - title=_("Warning at"), - unit=_("packets"), - minvalue=1, - default_value=100, - ), - Integer( - title=_("Critical at"), - unit=_("packets"), - minvalue=1, - default_value=1000, - ), - ], - ), - ), - ], - ) - - -rulespec_registry.register( - CheckParameterRulespecWithItem( - check_group_name="cisco_ip_sla", - group=RulespecGroupCheckParametersNetworking, - item_spec=_item_spec_cisco_ip_sla, - match_type="dict", - parameter_valuespec=_parameter_valuespec_cisco_ip_sla, - title=lambda: _("Cisco IP SLA"), - ) -)