Git Product home page Git Product logo

Comments (6)

dnsmichi avatar dnsmichi commented on July 28, 2024

Not sure what "wrong" data means, you did not provide a comparable number. The charts widgets for hosts and services only use problems (not in a downtime, not acknowledged) to actually count them.

https://github.com/dnsmichi/dashing-icinga2/blob/master/jobs/icinga2.rb#L74
https://github.com/dnsmichi/dashing-icinga2/blob/master/lib/icinga2.rb#L752

The downtime chart looks modified in the first screenshot, what else did you modify in your environment? git diff for example. Also, please fill in the issue template for further details.

from dashing-icinga2.

aledr avatar aledr commented on July 28, 2024

No modifications were done at all. git diff will only show the changes in "config/icinga2.json".
Hosts shows 1 Host Down on first image and It is correct, but shows 13 on the second image after mouse over.

from dashing-icinga2.

dnsmichi avatar dnsmichi commented on July 28, 2024

Ah. Seems chartjs is then using the default from the dashboard. https://github.com/dnsmichi/dashing-icinga2/blob/master/dashboards/icinga2.erb

I did not play with mouseover for chartjs, this was too complicated and I am not a JS developer either. These dashboards are typically used on TVs where no-one moves a mouse.

If you want to look into fixing this, the widget code & settings are located in https://github.com/dnsmichi/dashing-icinga2/blob/master/widgets/chartjs/chartjs.coffee#L45

from dashing-icinga2.

coderobe avatar coderobe commented on July 28, 2024

I am also running into this, this makes data evaluation rather useless. Couldn't mouseover just be disabled for the time being?

from dashing-icinga2.

dnsmichi avatar dnsmichi commented on July 28, 2024

If you tell me how, or send a PR, I'll gladly merge this :-)

from dashing-icinga2.

coderobe avatar coderobe commented on July 28, 2024

The pull request i sent does not fix the orientation issues due to a deeper issue with widget instantiation, but the wrong data should not show up anymore with #97 at least - which was the bigger issue of the two :p

from dashing-icinga2.

Related Issues (20)

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.