Comments (5)
The flattening is the kinda-solution to me failing at importing the data as properly structured json :) it seems like you're also hitting problems there.
Dont expose the context_data to Icinga
I can't find any documentation or even code on context_data
. Can you expand a bit on what exactly it contains? :) I am probably fine with just dropping it, though.
from icingaweb2-module-netboximport.
😀
I dont use the context data by myself in netbox but here is the link to to documentation https://netbox.readthedocs.io/en/stable/additional-features/context-data/
from icingaweb2-module-netboximport.
oooh, it's a netbox feature, of course. I was looking for icinga docs m(
hm, that actually sounds like useful. Maybe just drop all keys which are too long and document that in the README? Would you like to write a small PR? :)
from icingaweb2-module-netboximport.
Just dropping the keys sounds wrong to me. Maybe just get rid of the flattening. But I need to get more into your code to understand it fully, because of the way interfaces are merged with the hosts.
from icingaweb2-module-netboximport.
PR is out. I decided its probably the best (e.g. easiest 😃 ) idea just not to flatten the local_context_data and encode it back to JSON, because it essentially is stored as JSON in Netbox.
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
- Allow non unique object names HOT 3
- Nautobot also supported? HOT 1
- add github issue template
- Requesting unknown URL HOT 1
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.