Exemplo n.º 1
0
 def _gather_check_plugin_names(self):
     # type: () -> Set[CheckPluginName]
     return config.discoverable_tcp_checks()
Exemplo n.º 2
0
 def _gather_check_plugin_names(self):
     return config.discoverable_tcp_checks()
Exemplo n.º 3
0
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()