Git Product home page Git Product logo

edeckers / huemon Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 3.0 605 KB

Zabbix template with LLD support for Philips Hue network

Home Page: https://branie.it/blog/huemon-connect-philips-hue-to-zabbix-stats-alarms-and-triggers

License: Mozilla Public License 2.0

Python 86.45% Makefile 1.28% Shell 10.59% Dockerfile 1.68%
zigbee hue hue-lights hue-bridge hue-api zabbix zabbix-templates python monitoring philips-hue

huemon's People

Contributors

dependabot[bot] avatar edeckers avatar p- avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

branie-it sscheib p-

huemon's Issues

Extend test set

The current test set is not nearly covering enough code; add some tests until at least the important parts of the commands and discoveries are covered.

Improve the plugin mechanism

Initializing the application is kind of messy what with running the install_available command for the default set of commands and discoveries.

  • 'Hardwire' all currently included commands and discoveries
  • Remove the *_enabled and *_available directories from the repository
  • Add plugin development instructions to the README.md

Add test coverage reports

It is unclear what percentage of the code is currently covered with tests. Adding coverage reporting will give us this insight.

Add agent mode

Currently the application loading all plugins incurs a lot of overhead on each call to the script. A way to avoid this is to add an agent mode that only loads all plugins once and just passes incoming HTTP requests to the module.

Separate output from querying

Querying and output are very intertwined in the current setup, which makes the handling of queries to the agent API kind of awkward

context_reader = io.StringIO()

  • Wrap method results in eithers and options instead of calling sys.exit and printing
  • Add processors that handle printing results

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.