Comments (3)
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.
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.
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)
- Invalid argument supplied for foreach() HOT 3
- Missing License? HOT 3
- current version (dfd907928c309441b0307bf83bbc211b843d2b20) ends in a stacktrace HOT 17
- FR: Add option to add filters to NetBox requests HOT 10
- Nautobot also supported? HOT 1
- add github issue template
- Requesting unknown URL HOT 1
- Flattening causes Import failure because of Context Data HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icingaweb2-module-netboximport.