Summary
Red Hat Enterprise Server and SuSE Linux Enterprise are not detected as installed application
Symptoms
Environment:
- Inventory source: FlexNet Manager Suite (Agent)
- Operating System: Red Hat Enterprise Linux, SuSE Linux Enterprise
Red Hat Enterprise Server and SuSE Linux Enterprise installed computers are listed in the
All inventories. However,
Red Hat Enterprise Server and
SuSE Linux Enterprise are not detected as installed application. The
installed column value of Red Hat Enterprise Server and SuSE Linux Enterprise records in the
All Applications are 0.
Thus, the Linux operating system does not exist in the
Applications tab of
Inventory Device Properties of the
Red Hat Enterprise Server or
SuSE Linux Enterprise Server installed computers.
Cause
FlexNet Manager Suite maps the recognized specific name to a simple name using the definition in
OSNameMap.txt file. The file is stored in "<
Flexnet_Manager_Platfom_Installed_folder>
\Reporter"
The following is full
MGS_OperatingSystem class in a ndi file which was collected from the
Red Hat Enterprise Linux Server 7.1 running computer. The
Caption attribute "
Red Hat Enterprise Linux Server 7.1 (Maipo)" is converted to "
Red Hat Linux" due to the definition "^Red\sHat.* Red Hat Linux" in
OSNameMap.txt when the ndi file is imported to the Inventory database.
<Hardware Class="MGS_OperatingSystem" Name="Linux" Evidence="OS API">
<Property Name="CSName" Value="enrhlinux71"/>
<Property Name="Caption" Value="Red Hat Enterprise Linux Server 7.1 (Maipo)"/>
<Property Name="FreePhysicalMemory" Value="183400"/>
<Property Name="FreeVirtualMemory" Value="2097148"/>
<Property Name="Kernel" Value="Linux"/>
<Property Name="KernelRelease" Value="3.10.0-229.el7.x86_64"/>
<Property Name="LastBootUpTime" Value="20170929T034817Z"/>
<Property Name="Manufacturer" Value="Unknown"/>
<Property Name="Name" Value="Red Hat Enterprise Linux Server"/>
<Property Name="OSArchitecture" Value="64-bit"/>
<Property Name="OSType" Value="36"/>
<Property Name="TotalVirtualMemorySize" Value="2097148"/>
<Property Name="TotalVisibleMemorySize" Value="1884696"/>
<Property Name="Version" Value="7.1"/>
</Hardware>
The ARL defines the WMI evidences of Red Hat Enterprise Linux 7.1 Server as below, therefore the converted Caption value "Red Hat Linux" does not match the defined evidence.
Resolution
The definitions in OSNameMap.txt can be commented out to disable the conversion of Caption attribute value of MGS_OperatingSystem class if you add "#" in the beginning of the line.
Re-generate and re-import .ndi files of Linux servers are required after updating OSNameMap.txt.
Full steps are: ( step 1 and 2 are optional, it is for clean-up the current imported data )
- Delete Linux servers in All inventory.
- Delete Linux servers in All Discovered Devices.
- Open "<FlexNet Manager Platform>\Reporter\OSNameMap.txt" file via text editor.
- Commented out the following line
Before:
^Red\sHat.* Red Hat Linux
^S[Uu]SE.* SuSE Linux
After:
# ^Red\sHat.* Red Hat Linux
# ^S[Uu]SE.* SuSE Linux
- Save the file
- Run inventory schedule.
- Wait for importing new inventory files into FNMS application server.
- Run Reconcile with the Update inventory for reconciliation.
Additional Information
The issue has identified as Bug #FNMS-35341 "OSNameMap.txt should not modify Linux or OSX evidence"
Related KB Articles
Redhat OS just says Redhat Linux, no version and edition