An open API service indexing awesome lists of open source software.

https://github.com/jiuka/checkmk_snia_sml

Checkmk extension for SNIA SML Tape Library
https://github.com/jiuka/checkmk_snia_sml

checkmk checkmk-extension snia

Last synced: about 2 months ago
JSON representation

Checkmk extension for SNIA SML Tape Library

Awesome Lists containing this project

README

          

# Checkmk extension for SINA Storage Media Library

![build](https://github.com/jiuka/checkmk_snia_sml/workflows/build/badge.svg)
![flake8](https://github.com/jiuka/checkmk_snia_sml/workflows/Lint/badge.svg)
![pytest](https://github.com/jiuka/checkmk_snia_sml/workflows/pytest/badge.svg)

## Description

Monitores the status of a **S**torage **M**edia **L**ibrary by use of the [SNIA](https://www.snia.org/) SNIA-SML-MIB. The Status of the Chassis and the Drives is checked.

### Known Libraries

* Dell EMC ML3

## Development

For the best development experience use [VSCode](https://code.visualstudio.com/) with the [Remote Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.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.

## Directories

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

* `agents`, `checkman`, `checks`, `doc`, `inventory`, `notifications`, `pnp-templates`, `web` are mapped into `local/share/check_mk/`
* `agent_based` is mapped to `local/lib/check_mk/base/plugins/agent_based`
* `nagios_plugins` is mapped to `local/lib/nagios/plugins`

## 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 `flake8` in the same checkmk docker conatiner as vscode.