Skip to content

Import virtual chassis #66

Description

@kuhball

I'm trying to import virtual chassis from netbox into icinga. Since there already is a virtual_chassis_keyid field on the import source this seemed possible.

Goal
Have one host with the virtual chassis name per chassis. This host should contain all interfaces from the whole chassis.

Issue
The netbox API performs different from the UI. The UI is displaying all interfaces on the master of the virtual chassis. The API however returns only the interfaces of the master device. This seems to be by design as there is an extra filter for virtual chassis on interfaces.

Is this solvable with the current implementation? I believe it's necessary to add a new type 'virtualchassis' in the import source. Happy to provide a PR if this solution seems feasible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions