Code Monkey home page Code Monkey logo

Comments (8)

BenoitPoulet avatar BenoitPoulet commented on July 21, 2024 2

Hello,

That's strange I already validated the code on 23.10 (beta).

If the code has not be already fixed I will have a look asap.

from nagstamon.

BenoitPoulet avatar BenoitPoulet commented on July 21, 2024 2

Hello,

I found the cause, they changed the JSON in the final release :|

The mapping must be change but only starting with 23.10

I will try to do it this evening

from nagstamon.

HenriWahl avatar HenriWahl commented on July 21, 2024

@BenoitPoulet do you have an idea?

from nagstamon.

Zelphy avatar Zelphy commented on July 21, 2024

I'll add this screen also, I think it might help, as it's linked to "SRV01 / Disk_W88_C93_D"

Screenshot 2023-10-31 181918

The "Disk_W88_C93_D" Service is currently in Critical state.

from nagstamon.

Zelphy avatar Zelphy commented on July 21, 2024

I've forked and built the project (master) with the problematic line commented. I was able to go one line further...
At the end, this is the code that allow Nagstamon to start without error for Centreon 23.10:

Screenshot 2023-11-03 111904

4 lines commented:

self.new_hosts[new_host].services[new_service].passiveonly = alerts["passive_checks"]
self.new_hosts[new_host].services[new_service].notifications_disabled = not alerts["notification_enabled"]
self.new_hosts[new_host].services[new_service].acknowledged = alerts["acknowledged"]
self.new_hosts[new_host].services[new_service].scheduled_downtime = alerts["in_downtime"]

On GitHub: Zelphy@f6d8237

Screenshot 2023-11-03 111720 Screenshot 2023-11-03 111926

from nagstamon.

HenriWahl avatar HenriWahl commented on July 21, 2024

Would be interesting what the 23.10 version actually contains and what consequences the now missing 4 lines will have.

from nagstamon.

Zelphy avatar Zelphy commented on July 21, 2024

To avoid another similar problem, I needed to comment 4 other lines:

Screenshot 2023-11-06 101512 Screenshot 2023-11-09 095712

from nagstamon.

polako-code avatar polako-code commented on July 21, 2024

Hello,

I had the same problem with Centreon 23.10.0
The solution proposed by @Zelphy works but some functionality is lost. For example, if a host is acknowledged in Centreon, you can no longer request that it not be displayed in Nagstamon.

from nagstamon.

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.