Hardware inventory update #49
Labels
No labels
help wanted
need testing
status: accepted
status: discussing
type: bug
type: documentation
type: duplicate
type: enhancement
type:hardware
type: invalid
type: major feature
type: minor feature
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/netbox-agent#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So, memory, disk, network, CPU all nice and neat.. NVME is also partially included - I have another node that has this..
It doesn't use dmi to do this, it uses the output of lshw to collect it.
I think I need to make the asset tags unique, so I was going to make it 'hostname:part'
thomas
That's really better than the first version I've done, nice !
Personally I wouldn't use the asset tag in the case of server hardware
I've tried
lshw -json
when you previously mentionned it, and it's really betterDo you have a PR for this ?
This is using the asset tag more as a locator than a tag..
I will have a PR shortly, still more cleanup is needed on my side.
Awesome, looking forward to it :)
I was thinking of something: we should add the motherboard in the inventory, what do you think ?
Agreed - motherboard is needed.
Just merged #58
Thanks a lot for your contribution !! it solves a lot of issues