Coder Social home page Coder Social logo

Comments (3)

joni1993 avatar joni1993 commented on June 26, 2024

I think this may be out of scope, because Icinga requires unique host names. The Import source also required a unique attribute for identification.

We could work-around this with a Boolean config option, which appends _1,_2,... on any duplicate host name, if that's applicable.

from icingaweb2-module-netboximport.

bb-Ricardo avatar bb-Ricardo commented on June 26, 2024

I faced the same issue in another project and solved it by appending the site in brackets if site was set and object name not unique.

Would this be a possible solution?

from icingaweb2-module-netboximport.

mrgohin avatar mrgohin commented on June 26, 2024

As @joni1993 already mentioned for Icinga is an unique object_name mandatory.

So the problem which are you facing needs to be solved by creating a joined object_name consisting of multiple field values. Of course under the hood it isn't pretty but you can override ui with display_name attribute.

Since Director offers this solution by modifiers for an import source. I don't see any reason to implement this to the module. The modules purpose is to deliver data from a foreign source as modifiable as possible to Director.

from icingaweb2-module-netboximport.

Related Issues (9)

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.