GithubHelp home page GithubHelp logo

Comments (6)

thekoma avatar thekoma commented on June 18, 2024 3

I've solved creating a filter on the api user:

object ApiUser "dashboard-user"  {
  password = "averysecretpasswordnooneknowsforsomereason"
  permissions = [
  {
    permission = "objects/query/Host"
    filter = {{ host.downtime_depth == 0 && host.acknowledgement == 0 && host.flapping == false }}
  },
  {
    permission = "objects/query/Service"
    filter = {{ service.downtime_depth == 0 && service.acknowledgement == 0 && service.flapping == false }}
  },
  {
    permission = "status/query"
  },
  {
    permission = "types"
  }, ]
}

from dashing-icinga2.

dnsmichi avatar dnsmichi commented on June 18, 2024 1

I'll think about how to make this more generic. I just don't have time to look into Ruby code atm.

from dashing-icinga2.

log1-c avatar log1-c commented on June 18, 2024 1

Thanks @koma85, haven't thought of that!

from dashing-icinga2.

dnsmichi avatar dnsmichi commented on June 18, 2024

The listing takes the severity into account, and previous patches grouped them by state.

https://github.com/Icinga/dashing-icinga2/blob/master/lib/icinga2.rb#L435

I do see your point, but that renders severity calculation obsolete. You can do so in your job and filter that away before service_problems_severity is processed.

from dashing-icinga2.

log1-c avatar log1-c commented on June 18, 2024

hi @dnsmichi,

thank you for your response.
I tried commenting various lines in /lib/icinga2.rb or /jobs/icinga2.rb leading to either no changes or an emtpy Problems panel.

Could you tell me what I need to change in the files, if it is not too much effort!
Else I will try some more commenting combinations or leave it as is xD

Best regards and thanks for all your effort!

from dashing-icinga2.

dnsmichi avatar dnsmichi commented on June 18, 2024

Use this suggestion: #61 (comment) as I won't look into the details for the Ruby parts, sorry.

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.