The linux systems in our network are not reporting the Computer serial number, but the Windows systems are reporting for the same property. The Linux systems report as - Undefined (The Operator “wmi” is not defined.)
The property being used is “Computer serial number or service tag” - if (exists wmi) then (string values of selects “SerialNumber from Win32_BIOS” of wmi) else if (exists dmi AND exists serial_number of system_information of dmi) then (serial_number of system_information of dmi) else (“N/A”).
Linux does not use WMI. For linux you might need different relevance. I am not much tech savy as far as Bigfix is concerned for Linux. May be Ben or Jesse can give you the relevance.
I think Linux uses DMI… Does this slight variant of your relevance work?
if (name of operating system contains “Win” AND exists wmi) then (string values of selects “SerialNumber from Win32_BIOS” of wmi) else if (exists dmi AND exists serial_number of system_information of dmi) then (serial_number of system_information of dmi) else (“N/A”)
Still no luck, the systems are still reporting (The operator “wmi” is not defined). We are using SuSE Enterprise Desktop 10 with SP2 and Kernel - 2.6.16.60.0.27, thought this might be of some use to you.
Is there anyway to check if the linux systems are listening for dmi and which port does it use?
if (name of operating system contains “Win”) then (string values of selects “SerialNumber from Win32_BIOS” of wmi) else if (exists dmi AND exists serial_number of system_information of dmi) then (serial_number of system_information of dmi) else (“N/A”)
Thanks Ben it worked, the PDF came in handy. The properties I am using are -
Computer Manufacturer:
if (name of operating system contains “Win”) then (string value of select “Manufacturer from Win32_ComputerSystem” of wmi) else if (exists dmi AND exists manufacturer of system_enclosure_or_chassis of dmi) then (manufacturer of system_enclosure_or_chassis of dmi) else (“N/A”)
Computer Model:
if (name of operating system contains “Win”) then (string values of selects “Model from Win32_ComputerSystem” of wmi) else if (exists dmi AND exists product_name of system_information of dmi) then (product_name of system_information of dmi) else (“N/A”)
if (name of operating system contains “Win”) then (string value of select “Manufacturer from Win32_ComputerSystem” of wmi) else if (exists dmi AND exists manufacturer of system_enclosure_or_chassis of dmi) then (manufacturer of system_enclosure_or_chassis of dmi) else (“N/A”)
Computer Model:
if (name of operating system contains “Win”) then (string values of selects “Model from Win32_ComputerSystem” of wmi) else if (exists dmi AND exists product_name of system_information of dmi) then (product_name of system_information of dmi) else (“N/A”)
Mahesh
For people that are using Windows 7 , the relevance using
"of operating system contains “Win” "
will resolve to N/A.
going back to ;
if (exists wmi) then (string values of selects “Model from Win32_ComputerSystem” of wmi) else if (exists dmi AND exists product_name of system_information of dmi) then (product_name of system_information of dmi) else (“N/A”)
For people that are using Windows 7 , the relevance using "of operating system contains “Win” " will resolve to N/A.
Try the latest version of the BES Client (7.2.4.60)
So here is a catch 22, sort of. We have the upgrade jog running;
Updated BES Client Now Available! (Version 7.2.4.60) - WinNT/2000/2003/XP/Vista/2008
Since all of our test machine had XP installed and had BigFix, but the older client version, they never get the newer version of the client once they are upgraded to Windows7. Since the OS version is appearing as ;
UnKnown 6.1.7100
The relevance in the Update is looking for;
name of operating system as lowercase starts with “win”
hence no update. One will need to modify the relevance and remove the above line and point it directly at the specific machines or install the newer client manually.
Very good point… Probably the easiest thing to do if you have Windows 7 running pre-7.2.4 agents will be to take the upgrade action from the Fixlet and modify the relevance to change
name of operating system as lowercase starts with “win”
to
name of operating system as lowercase starts with “win” OR name of operating system as lowercase starts with “unknown”
Q: if (name of operating system contains “Win”) then (string values of selects “SerialNumber from Win32_BIOS” of wmi) else if (exists dmi AND exists serial_number of system_information of dmi) then (serial_number of system_information of dmi) else (“N/A”)
A: VMware-NA NA NA NA NA NA NA NA-NA NA NA NA NA AA NN NN
T: 9130
Q: if (name of operating system contains “Win”) then (string value of select “Manufacturer from Win32_ComputerSystem” of wmi) else if (exists dmi AND exists manufacturer of system_enclosure_or_chassis of dmi) then (manufacturer of system_enclosure_or_chassis of dmi) else (“N/A”)
A: No Enclosure
T: 543
Q: if (name of operating system contains “Win”) then (string values of selects “Model from Win32_ComputerSystem” of wmi) else if (exists dmi AND exists product_name of system_information of dmi) then (product_name of system_information of dmi) else (“N/A”)
A: VMware Virtual Platform
T: 428
So my question is…what are the equivalents for the other platforms,such as, solaris,aix,hp-ux,(and/or if you know the others).
If the inspector for a particular platform has nothing available, is there a way to execute platform commands (eeprom|grep blah blah) ? and incorporate into a fixlet to capture and present chassis number, for example?