diff --git a/tests/unit/checks/generictests/datasets/f5_bigip_apm.py b/tests/unit/checks/generictests/datasets/f5_bigip_apm.py deleted file mode 100644 index 1643024e766..00000000000 --- a/tests/unit/checks/generictests/datasets/f5_bigip_apm.py +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env python3 -# Copyright (C) 2019 Checkmk 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. - -# fmt: off -# mypy: disable-error-code=var-annotated -checkname = "f5_bigip_apm" - -info = [["0"]] - -discovery = {"": [(None, None)]} - -checks = { - "": [(None, {}, [(0, "Connections: 0", [("connections_ssl_vpn", 0, None, None, 0, None)])])] -} diff --git a/tests/unit/checks/generictests/datasets/f5_bigip_interfaces.py b/tests/unit/checks/generictests/datasets/f5_bigip_interfaces.py deleted file mode 100644 index e6cb3c315f2..00000000000 --- a/tests/unit/checks/generictests/datasets/f5_bigip_interfaces.py +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/env python3 -# Copyright (C) 2019 Checkmk 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. - -# fmt: off -# mypy: disable-error-code=var-annotated -checkname = "f5_bigip_interfaces" -mock_item_state = { - "": { - "in": (0, 439189486311), - "out": (0, 375541323492), - }, -} - - -info = [ - ["1.1", "0", "439189486311", "375541323492"], - ["1.2", "0", "121591230679", "201963958037"], - ["1.3", "0", "434523103807", "413556383286"], - ["1.4", "0", "1244059671", "991534207"], - ["2.1", "5", "0", "0"], - ["2.2", "5", "0", "0"], - ["mgmt", "0", "21498688535", "3648383840"], -] - -discovery = { - "": [ - ("1.1", {}), - ("1.2", {}), - ("1.3", {}), - ("1.4", {}), - ("mgmt", {}), - ] -} - -checks = { - "": [ - ( - "1.1", - {}, - [ - (0, "Up", []), - (0, "In bytes: 0.00 B/s", [("bytes_in", 0.0)]), - (0, "Out bytes: 0.00 B/s", [("bytes_out", 0.0)]), - ], - ), - ] -} diff --git a/tests/unit/checks/generictests/datasets/f5_bigip_pool.py b/tests/unit/checks/generictests/datasets/f5_bigip_pool.py deleted file mode 100644 index fbc4c1a36e8..00000000000 --- a/tests/unit/checks/generictests/datasets/f5_bigip_pool.py +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env python3 -# Copyright (C) 2019 Checkmk 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. - -# fmt: off -# mypy: disable-error-code=var-annotated -checkname = "f5_bigip_pool" - -info = [ - [ - ["/Common/ad_testch-pool", "2", "2"], - ["/Common/ad_hubservice-pool", "2", "2"], - ["/Common/ldap_testch-pool", "2", "2"], - ["/Common/ldap_testhk-pool", "2", "2"], - ], - [ - ["/Common/ad_testch-pool", "0", "4", "4", "1", "/Common/11.11.128.61"], - ["/Common/ad_testch-pool", "0", "4", "4", "1", "/Common/11.11.129.61"], - ["/Common/ad_hubservice-pool", "0", "4", "4", "1", "/Common/11.11.81.201"], - ["/Common/ad_hubservice-pool", "0", "4", "4", "1", "/Common/11.11.81.202"], - ["/Common/ldap_testch-pool", "389", "4", "4", "1", "/Common/11.11.128.61"], - ["/Common/ldap_testch-pool", "389", "4", "4", "1", "/Common/11.11.129.61"], - ["/Common/ldap_testhk-pool", "389", "4", "4", "1", "/Common/rozrhvad22.testhk.testint.net"], - ["/Common/ldap_testhk-pool", "389", "4", "4", "1", "/Common/rozrhvad23.testhk.testint.net"], - ], -] - -discovery = { - "": [ - ("/Common/ad_hubservice-pool", {}), - ("/Common/ad_testch-pool", {}), - ("/Common/ldap_testch-pool", {}), - ("/Common/ldap_testhk-pool", {}), - ] -} - -checks = { - "": [ - ("/Common/ad_hubservice-pool", {"levels_lower": (2, 1)}, [(0, "2 of 2 members are up", [])]), - ("/Common/ad_testch-pool", {"levels_lower": (2, 1)}, [(0, "2 of 2 members are up", [])]), - ("/Common/ldap_testch-pool", {"levels_lower": (2, 1)}, [(0, "2 of 2 members are up", [])]), - ("/Common/ldap_testhk-pool", {"levels_lower": (2, 1)}, [(0, "2 of 2 members are up", [])]), - ] -}