Skip to content

Commit

Permalink
cmk/plugins/omd: move lib
Browse files Browse the repository at this point in the history
Change-Id: Ied571a51b7cfa26d319f19f1095df3d459c24ad2
  • Loading branch information
mo-ki committed Jan 22, 2025
1 parent 9599d56 commit c990568
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions cmk/plugins/omd/agent_based/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env python3
# Copyright (C) 2025 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.
#
File renamed without changes.
3 changes: 2 additions & 1 deletion cmk/plugins/omd/agent_based/omd_broker_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
State,
StringTable,
)
from cmk.plugins.lib.omd_broker import Queue, SectionQueues

from .libbroker import Queue, SectionQueues

# These could still be enforced, but don't autodiscover them
_ENFORCED_ONLY_APPS: Final = ("cmk-broker-test",)
Expand Down
3 changes: 2 additions & 1 deletion cmk/plugins/omd/agent_based/omd_broker_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
Service,
StringTable,
)
from cmk.plugins.lib.omd_broker import Queue, SectionQueues

from .libbroker import Queue, SectionQueues


@dataclass(frozen=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest

from cmk.agent_based.v2 import Metric, Result, Service, State, StringTable
from cmk.plugins.lib.omd_broker import Queue, SectionQueues
from cmk.plugins.omd.agent_based.libbroker import Queue, SectionQueues
from cmk.plugins.omd.agent_based.omd_broker_queue import (
check,
discover_omd_broker_queues,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
State,
StringTable,
)
from cmk.plugins.lib.omd_broker import Queue, SectionQueues
from cmk.plugins.omd.agent_based.libbroker import Queue, SectionQueues
from cmk.plugins.omd.agent_based.omd_broker_status import (
BrokerStatus,
check_omd_broker_status,
Expand Down

0 comments on commit c990568

Please sign in to comment.