-
Notifications
You must be signed in to change notification settings - Fork 199
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
Have syscollector collect/obtain the device serial number #5699
Comments
It's nice to receive this comment from you! This data is currently being collected by syscollector, moreover, this data is the primary key of the hardware info table. What happens here is that this data is not being shown, therefore it is correct where I created the issue! Linux implementation Here you can see how to obtain this information from the API |
Hello @fernandogont Hi, this capability has already been implemented since version 4.7.2. You can check it in this issue: |
Note: the device serial number is different than the board serial number. IOW, in the most majority of cases I've seen, the two are the same. But this need not be the case. The "device serial number" is the serial number you'll usually find e.g. in a sticker at the back of the laptop. But for some vendors, this number may differ from the board serial number. |
Yes it differs for many vendors |
Description
One of the most important identifiers in a workstation or system is its serial number. However, it seems syscollerctor fails to collect it.
In Linux, you can get this information via:
sudo dmidecode -t system
In MacOS, you can collect this information via:
system_profiler SPHardwareDataType
Tasks
The steps that have to be completed in order to close the issue.
Additional information
As noted before, this is how you can collect the aforementioned information:
In Linux, you can get this information via:
sudo dmidecode -t system
In MacOS, you can collect this information via:
system_profiler SPHardwareDataType
The text was updated successfully, but these errors were encountered: