Actions
User story #9120
openAdd Model version into group criteria ?
Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
Description
Is it possible to add the System Version into group criteria ?
FusionInventory does't get this information, but dmidecode can get it
- dmidecode -t 1
- dmidecode 2.11
SMBIOS 2.6 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: LENOVO
Product Name: 5048WAL
Version: ThinkCentre M81
Serial Number: S4EPEL4
UUID: 9B8B3830-58AD-11E1-8735-047EFB473C00
Wake-up Type: Power Switch
SKU Number: To be filled by O.E.M.
Family: To be filled by O.E.M.
It would be nice to get this criteria into dynamic group
thks a lot
Updated by Matthieu CERDA about 8 years ago
- Description updated (diff)
- Assignee set to Matthieu CERDA
Hello, thanks for the report !
I'll take a look at this :)
Updated by Benoît PECCATTE about 8 years ago
- Tracker changed from Question to User story
- Category set to Web - Nodes & inventories
Updated by Matthieu CERDA about 8 years ago
- Assignee deleted (
Matthieu CERDA) - Target version set to 4.0.0~rc2
It's actually quite easy to add:
<BIOS> (...) <SVERSION>ThinkPad X230</SVERSION> </BIOS>
As simple as:
diff --git a/lib/FusionInventory/Agent/Inventory.pm b/lib/FusionInventory/Agent/Inventory.pm index 73b39a7..cf0427c 100644 --- a/lib/FusionInventory/Agent/Inventory.pm +++ b/lib/FusionInventory/Agent/Inventory.pm @@ -12,7 +12,7 @@ use XML::TreePP; use FusionInventory::Agent::Tools; my %fields = ( - BIOS => [ qw/SMODEL SMANUFACTURER SSN BDATE BVERSION + BIOS => [ qw/SMODEL SMANUFACTURER SVERSION SSN BDATE BVERSION BMANUFACTURER MMANUFACTURER MSN MMODEL ASSETTAG ENCLOSURESERIAL BIOSSERIAL TYPE SKUNUMBER/ ], diff --git a/lib/FusionInventory/Agent/Task/Inventory/Generic/Dmidecode/Bios.pm b/lib/FusionInventory/Agent/Task/Inventory/Generic/Dmidecode/Bios.pm index 400d3bd..bc5dfc4 100644 --- a/lib/FusionInventory/Agent/Task/Inventory/Generic/Dmidecode/Bios.pm +++ b/lib/FusionInventory/Agent/Task/Inventory/Generic/Dmidecode/Bios.pm @@ -40,6 +40,8 @@ sub _getBiosHardware { $bios->{SMODEL} = $system_info->{'Product'} || $system_info->{'Product Name'}; + $bios->{SVERSION} = + $system_info->{'Version'}; $bios->{MMODEL} = $base_info->{'Product Name'}; $bios->{SKUNUMBER} = $system_info->{'SKU Number'};
Of course, we would need an appropriate logic in the webapp to parse and expose this.
Updated by François ARMAND about 8 years ago
- Target version changed from 4.0.0~rc2 to 4.1.0~beta1
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.1.0~beta1 to 4.1.0~beta2
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.1.0~beta2 to 4.1.0~beta3
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.1.0~beta3 to 4.1.0~rc1
Updated by François ARMAND almost 8 years ago
- Target version changed from 4.1.0~rc1 to 4.2.0~beta1
Updated by Alexis Mousset over 7 years ago
- Target version changed from 4.2.0~beta1 to 4.2.0~beta2
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 4.2.0~beta2 to 4.2.0~beta3
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 4.2.0~beta3 to 4.2.0~rc1
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 4.2.0~rc1 to 4.2.0~rc2
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 4.2.0~rc2 to 4.2.0
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.0 to 4.2.1
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.1 to 4.2.2
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.2 to 4.2.3
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.3 to 4.2.4
Updated by Benoît PECCATTE almost 7 years ago
- Target version changed from 4.2.4 to Ideas (not version specific)
Actions