コード例 #1
0
ファイル: abstract.py プロジェクト: spearheadsys/checkmk
 def _gather_check_plugin_names(self):
     return config.discoverable_tcp_checks()
コード例 #2
0
ファイル: test_checks.py プロジェクト: Howaner/checkmk
def test_discoverable_tcp_checks():
    config.load_all_checks(check_api.get_check_api_context)
    assert "uptime" in config.discoverable_tcp_checks()
    assert "snmp_uptime" not in config.discoverable_tcp_checks()
    assert "logwatch" in config.discoverable_tcp_checks()