File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1027,6 +1027,7 @@ The following features are available for matching:
1027
1027
| | | **`<parameter>`** | string | One parameter from `/etc/os-release` |
1028
1028
| **`system.dmiid`** | attribute | | | DMI identification data from `/sys/devices/virtual/dmi/id/` |
1029
1029
| | | **`sys_vendor`** | string | Vendor name from `/sys/devices/virtual/dmi/id/sys_vendor` |
1030
+ | | | **`product_name`** | string | Product name from `/sys/devices/virtual/dmi/id/product_name` |
1030
1031
| **`system.name`** | attribute | | | System name information |
1031
1032
| | | **`nodename`** | string | Name of the kubernetes node object |
1032
1033
| **`usb.device`** | instance | | | USB devices present in the system |
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ func (s *systemSource) Discover() error {
103
103
}
104
104
105
105
// Get DMI ID attributes
106
- dmiIDAttributeNames := []string {"sys_vendor" }
106
+ dmiIDAttributeNames := []string {"sys_vendor" , "product_name" }
107
107
dmiAttrs := make (map [string ]string )
108
108
for _ , name := range dmiIDAttributeNames {
109
109
val , err := getDmiIDAttribute (name )
You can’t perform that action at this time.
0 commit comments