Code Monkey home page Code Monkey logo

checkmk_dell_storage's Introduction

Checkmk extension for Dell Storage REST API

build flake8 pytest

Description

Check Dell Storage Managed by the Dell Storage Manager with the Storage REST API. This Special Agent uses piggyback to return informations for different parts of the system.

Piggyback structure

  • A node per StorageCenter
    • List of StorageCenter Alerts
    • State of the Storage Center
    • State of the Controllers
    • State of the Enclosures
    • State of the Volumes (w/ metrics for latency, throughput, iops and usage)
  • A node per Controllers
    • State of the Controller
    • State of the Controller Ports (w/ metrics for latency, throughput ans iops)
    • State of the Controller Fans
    • State of the Controller PSUs
    • State of the Controller Temperatures
  • A node per Enclosures
    • State of the Enclosure
    • State of the Enclosure Fans
    • State of the Enclosure Disks (w/ metrics for latency, throughput, iops and usage)
    • State of the Controller PSUs
    • State of the Enclosure Temperatures

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.

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.

checkmk_dell_storage's People

Contributors

jiuka avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

checkmk_dell_storage's Issues

Monitoring Unisphere Central for SC Series

Hi there, am trying to you use your plugin to monitor a Dell SC5020. I stood up a Unisphere Central SC Series instance and added the SC5020 to it and am able to manage the SAN.

I have added the Unisphere Central VM as a host in CheckMK and set it to "Configured API Integration, no Checkmk Agent"

I then configured the plugin with a user in Unisphere Central and the following URL:

https://unisphere.domain.com:3033/api/rest/

I've also targeted the integration to the Unisphere Central host.

When I do a connection test it appears to be authenticating to the API but only returns the following info:

<<<check_mk>>>
Version: 20.1.1.716
AgentOS: EnterpriseManager
<<<dell_storage_agent:sep(59)>>>
0;EnterpriseManager;20.1.1.716;0.06640505790710449;2;

The Service configuration only shows the following services to monitor:

State Service Status detail
OK Dell Storage API Enterprise Manager v20.1.1.716

Is this designed to work with Unisphere Central and am I configuring it correctly?

Cheers!

Double "ApiConnection" string in URL

Hi,
in the build URL for the api request is a double "apiconnection" string, which causes an error.
If I test the URL in a browser with just one string part, i get the list.

cmk_dell_sc_1
cmk_dell_sc_2

Version 0.6.1
Thanks for sharing the mkp!
Marc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.