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
Expose dmi info (as label?) #303
Comments
We're still unsure about exposing "inventory" metrics from the node_exporter. Some people are strongly against it, I personally think some of it is ok. There are a couple issues with this specific request:
These are things we don't want to do in the exporter. I would recommend using a script that parses the output of dmidecode and produces the metric for use with the textfile collector. I could probably whip something up for this. |
We like to expose the BIOS version as metric (to allow alerting about outdated versions). Since this information can be retrieved from |
Nice, I had no idea dmi had a sys interface. |
Add a DMI collector to expose the Desktop Management Interface (DMI) info from `/sys/class/dmi/id/`. This will expose information about the BIOS, mainboard, chassis, and product. Closes: prometheus#303 Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
Add a DMI collector to expose the Desktop Management Interface (DMI) info from `/sys/class/dmi/id/`. This will expose information about the BIOS, mainboard, chassis, and product. Closes: #303 Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
Add a DMI collector to expose the Desktop Management Interface (DMI) info from `/sys/class/dmi/id/`. This will expose information about the BIOS, mainboard, chassis, and product. Closes: prometheus#303 Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
Add a DMI collector to expose the Desktop Management Interface (DMI) info from `/sys/class/dmi/id/`. This will expose information about the BIOS, mainboard, chassis, and product. Closes: prometheus#303 Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
Hello
We have roughly ~ 100 Linux boxes on different hardware (mostly different versions of Gigabyte Brix and Intel Nuc and a few other hardware combinations)
It could be useful if the dmi info was exposed as label. Kind of like
node_uname_info
Maybe
node_dmi_info{manufacturer="MICRO-STAR INTERANTIONAL CO.,LTD", product="MS-7368"}
For example this is what
dmidecode --type system
expose (found somewhere on google, I'm not at my Linux computer right now):The text was updated successfully, but these errors were encountered: