sol1 / icingaweb2-module-netbox

Netbox importer for director, and integration with netbox
31 stars 6 forks source link

Ability to import racks #28

Closed willfurnell closed 12 months ago

willfurnell commented 12 months ago

Hi, It doesn't seem like this module currently supports importing racks from Netbox (but almost everything else). Is that something that would be possible to support please?

Thanks, Will.

sol1-matt commented 12 months ago

@willfurnell it is fairly straight forward to add other objects from Netbox.

Having a quick look at the Netbox objects I can't see much point in adding Rack Role, it doesn't appear to contain any unique information that wouldn't be available on the rack itself.

I can't think of a use case for importing Rack Reservation at the current point in time either.

Based on these assumptions I'm going to add rack only at this stage unless there is a use case for importing the other data so we limit UI clutter.

sol1-matt commented 12 months ago

Seems racks can have duplicate names in them, no fix in code in this. Users will need to use munge to create unique names for rack objects, eg: munge keyid,id = keyid_id key column name, or not use duplicate names in Netbox.

sol1-matt commented 12 months ago

Racks added in release v3.6.1.0