Skip to content

Netbox UI status and LLDP pages are not showing up, the API works fine #2142

@AmbicaY

Description

@AmbicaY

Issue type

[ ] Bug report

Environment

  • Python version: 3.5.2
  • NetBox version: v2.3.3

Description

I am able to query the device status details via the API call:
http://sc-netbox-test-01/api/dcim/devices/402/napalm/?method=get_facts

But on the UI:
http://sc-netbox-test-01/dcim/devices/402/status/
I get the error:
{"detail":"Error connecting to the device at *****: "}

I checked this on a Cisco Nexus device (napalm driver: nxos_ssh)

Here is my napalm config:
NAPALM_USERNAME = ''
NAPALM_PASSWORD = '
'
NAPALM_TIMEOUT = 60
NAPALM_ARGS = {
'secret': NAPALM_PASSWORD,
}

Similarly, for LLDP Neighbors, there is no error, but it does not show up any data. But the API call works fine: http://sc-netbox-test-01/api/dcim/devices/402/napalm/?method=get_lldp_neighbours

The configuration tab opens up fine though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions