Giter Site home page Giter Site logo

cmon's People

Contributors

pcuzner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cmon's Issues

switch to alertmanager for alerts

The 0.1 release goes direct to prometheus for the alerts, but these alerts could be silenced. By switching the source, the alerts table could show whether the alert is active/silenced too

support multiple clusters

In 0.1 release only a single ceph cluster is supported. This feature would change the way the config file is structured to support multiple clusters, allow one to be selected for display, and then use the list in a pulldown? in the UI to switch between clusters

indexerror

Noticed when the alert panel is active but there aren't any alerts listed, you can hit this traceback

  File "/cmon.py", line 180, in <module>
    main()
  File "/cmon.py", line 165, in main
    app.run()
  File "/cmon/app.py", line 281, in run
    self.loop.run()
  File "/usr/lib/python3.9/site-packages/urwid/main_loop.py", line 287, in run
    self._run()
  File "/usr/lib/python3.9/site-packages/urwid/main_loop.py", line 385, in _run
    self.event_loop.run()
  File "/usr/lib/python3.9/site-packages/urwid/main_loop.py", line 790, in run
    self._loop()
  File "/usr/lib/python3.9/site-packages/urwid/main_loop.py", line 823, in _loop
    alarm_callback()
  File "/usr/lib/python3.9/site-packages/urwid/main_loop.py", line 189, in cb
    callback(self, user_data)
  File "/cmon/app.py", line 264, in update
    self._update_panels()
  File "/cmon/utils.py", line 23, in wrapper
    result = f(*args, **kwargs)
  File "/cmon/app.py", line 255, in _update_panels
    panel.update()
  File "/cmon/ui/panels.py", line 402, in update
    self._update_footer(current_focus[1])
IndexError: list index out of range

Add a hosts breakdown panel

Use the metrics data to show the hosts in the cluster, and which daemons are running on those hosts. This could utilise the tree widget, where each host was a branch, and each daemon a leaf on the branch...presented in an overlay.

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.