Skip to content

WagnerAG/checkmk_dfs_state

Repository files navigation

Checkmk extension for DFS state

build ruff pytest

Development

For the best development experience use VSCode with the Remote Containers extension. This maps your workspace into a checkmk docker container giving you access to the python environment and libraries the installed extension has.

It is necessary to adapt the package file and store all files there. The name of the plugin must be identical to the CheckMK Plugin Python Package (cmk_addons/plugins/NAME) and the corresponding Pytests (tests/cmk_addons/plugins/NAME). The name TEMPLATE must initially be renamed to PLUGINNAME.

Directories

The following directories in this repo are getting mapped into the Checkmk site.

  • lib is mapped to local/lib/python3/cmk
  • cmk_addons is mapped to local/lib/python3/cmk_addons
  • tmp is mapped to local/tmp for storing static agent output

Continuous integration

Local

To build the package hit Crtl+Shift+B to execute the build task in VSCode.

pytest can be executed from the terminal or the test ui.

Github Workflow

The provided Github Workflows run pytest and ruff in the same checkmk docker container as vscode. In addition, the releases are automatically built with the build action.

About

check_mk plugin for monitoring dfs state

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors