Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow netbox to be a source of truth in discovering devices. #799

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

i3149
Copy link
Contributor

@i3149 i3149 commented Mar 14, 2025

Given a disco config like

discovery:
    cidrs: []
    ignore_list: []
    debug: false
    ports:
        - 161
    default_communities:
        - public
    use_snmp_v1: false
    default_v3: null
    add_devices: true
    add_mibs: false
    threads: 4
    replace_devices: true
    no_dedup_engine_id: true
    kentik: null
    no_use_bulkwalkall: false
    netbox_host: https://yyyy.cloud.netboxapp.com
    netbox_token: ${NETBOX_TOKEN}
    netbox_tag: Foxtrot
    netbox_site: Sydney

ktranslate will now use netbox to find devices to poll vs doing a network scan. Lets you filter by tag and site.

netbox_token can be either written directly into the yaml, passed in via environment variable, or else found via AWS, GCP or Azure vaults.

@i3149 i3149 requested a review from jryburn March 14, 2025 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant