Where are fields defined on unix and extracted by Bigfix?

(imported topic written by SystemAdmin)

Hello,

We have a field in bigfix defined as “OS Type”. Our windows hosts have values in this field such as, “server” or “workstation”. As I understand from our Windows Admin, these values are extracted from WMI on windows.

Our unix boxes display different values, such as, “Unknown-Linux…blahblah” or “Unknown-sunos…blahblah”.

I’d like to keep these consistent across platforms (“server” or workstation",etc.). So my question is, where is this field defined on a unix box, once the agent is installed?

Thanks much,

Jgil

(imported comment written by Lee Wei)

Jgil,

These fields are called Managed Properties.

You can view, edit or create them from the TEM Console. (Menu --> Tools --> Managed Properties).

You will see that the definition for the “OS Type - Windows” managed property is the following. So the info is extracted from the Windows Registry, and not WMI.

For non-Windows computers, the property returns “Unknown” followed by the operating system.

You cannot edit this property, but you can create a new one and then replace the else statement for non-Windows computers as you see fit.

if (name of operating system as lowercase starts with “win”) then (if (name of operating system = “Win95” OR name of operating system = “Win98” or name of operating system = “WinME”) then “Workstation” else (if (value “ProductType” of key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions” of registry = “WinNT”) then “Workstation” else “Server”)) else "Unknown - " & name of operating system

Lee Wei