netbox-agent icon indicating copy to clipboard operation
netbox-agent copied to clipboard

FR: inventory for raspberry pi modules

Open nimbo78 opened this issue 1 year ago • 1 comments

Hi We have plenty of Raspberry Pi CM4 modules on our network and want to inventory them in NetBox. However, when we start the NetBox agent:

Traceback (most recent call last):
  File "/usr/local/bin/netbox_agent", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/netbox_agent/cli.py", line 50, in main
    return run(config)
  File "/usr/local/lib/python3.9/dist-packages/netbox_agent/cli.py", line 24, in run
    dmi = dmidecode.parse()
  File "/usr/local/lib/python3.9/dist-packages/netbox_agent/dmidecode.py", line 74, in parse
    _data = _parse(buffer)
  File "/usr/local/lib/python3.9/dist-packages/netbox_agent/dmidecode.py", line 216, in _parse
    raise ParseError("Unable to parse 'dmidecode' output")
netbox_agent.dmidecode.ParseError: Unable to parse 'dmidecode' output
dmidecode
# dmidecode 3.3
# No SMBIOS nor DMI entry point found, sorry.

Is there any workaround for Pi's?

nimbo78 avatar Oct 31 '24 15:10 nimbo78

Hello @nimbo78 , Currently netbox-agent doesn't handle raspberry pi, we'll add this feature later.

CllaudiaB avatar Nov 04 '24 13:11 CllaudiaB