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:
10271027| | | **`<parameter>`** | string | One parameter from `/etc/os-release` |
10281028| **`system.dmiid`** | attribute | | | DMI identification data from `/sys/devices/virtual/dmi/id/` |
10291029| | | **`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` |
10301031| **`system.name`** | attribute | | | System name information |
10311032| | | **`nodename`** | string | Name of the kubernetes node object |
10321033| **`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 {
103103 }
104104
105105 // Get DMI ID attributes
106- dmiIDAttributeNames := []string {"sys_vendor" }
106+ dmiIDAttributeNames := []string {"sys_vendor" , "product_name" }
107107 dmiAttrs := make (map [string ]string )
108108 for _ , name := range dmiIDAttributeNames {
109109 val , err := getDmiIDAttribute (name )
You can’t perform that action at this time.
0 commit comments