Microsoft Clustering

Microsoft Clustering

The Checkmk version on which this package was built is EOL. This package will likely not work on Checkmk version 2.0.0 and above.

Description

Monitor MS Clustering

  • Resources
  • Nodes

Latest Version

Version: 1.1
Packaged at: 19 Apr 2017
Created on Checkmk version: 1.2.8p21
Minimum Checkmk version required: 1.2.8
MKP MD5 hash: 48211dd39702fd29f614fcef38f81676
GUI Extensions
  • plugins/wato/agent_bakery_mscs_nodes.py
  • plugins/wato/agent_bakery_mscs_resources.py
Agents
  • bakery/mscs_nodes
  • bakery/mscs_resources
  • plugins/mscs_nodes.ps1
  • plugins/mscs_resources.ps1
Check Plugins
  • mscs_nodes
  • mscs_resources
  • PvdM 14-06-2022
    Easy install, but needs an update to display the data in CheckMK 2.x. (The data is still send from the plugins, but is not recognized on the server/appliance.)
    If you are still on 1.6 or below, just use it if you have clusters.
  • danisto 13-07-2022
    Great plugin but not working with 2.1.
    I'm not a developer but I make it working with 2.1p6. Use this fork at your own risk.
    Install the 1.1 package.
    Then write the files below to the proper place and after that on the console with SITE user:
    cmk -U
    omd restart cmc

    /omd/sites/SITE/local/lib/python3/cmk/base/plugins/agent_based/mscs_resources.py

    #!/usr/bin/env python3
    # -*- encoding: utf-8; py-indent-offset: 4 -*-
    from .agent_based_api.v1 import *
    import pprint
    def inventory_mscs_resources(section):
    for sector, used, slots in section:
    yield Service(item=sector)

    def check_mscs_resources(item, section):
    for name, state, node in section:
    if name == item:
    if state == "Online":
    yield Result(state=State.OK, summary = f"State: {state}, Owner: {node}")
    else:
    yield Result(state=State.CRIT, summary = f"State: {state}, Owner: {node}")
    register.check_plugin(
    name = "mscs_resources",
    service_name = "MSCS Resources - %s",
    discovery_function = inventory_mscs_resources,
    check_function = check_mscs_resources,
    )

    /omd/sites/SITE/local/lib/python3/cmk/base/plugins/agent_based/mscs_nodes.py

    #!/usr/bin/env python3
    # -*- encoding: utf-8; py-indent-offset: 4 -*-
    from .agent_based_api.v1 import *
    import pprint

    def inventory_mscs_nodes(section):
    for name, state in section:
    yield Service(item=name)

    def check_mscs_nodes(item, section):
    for name, state in section:
    if name == item:
    if state == "Down":
    yield Result(state=State.CRIT, summary = "Node is Down")
    elif state == "Paused":
    yield Result(state=State.WARN, summary = "Node is Paused")
    else:
    yield Result(state=State.OK, summary = "Node is Up and running")

    register.check_plugin(
    name = "mscs_nodes",
    service_name = "MSCS Nodes - %s",
    discovery_function = inventory_mscs_nodes,
    check_function = check_mscs_nodes,
    )

By downloading packages from the Checkmk Exchange you agree to our Terms of Use.