Computer serial number not reporing on web report - Showing "The Operation “wmi”is not defined”

Hello,

on AIX while creating web report, some column showing error The Operation “wmi” is not defined for Model and serial number. Could you please help if anyone run into same issue and have solution for AIX.

You need to use SMBIOS instead of WMI for *nix + Windows to both work. I think DMI works on *nix only and is another option.

The issue is that you are trying to use an existing property that is Windows Only. If you want a single universal property for all systems, then you will need to create one. SMBIOS should work for everything except for Apple devices, so you’d have to combine 2 relevance statements to get something universal.

See here: https://bigfix.me/analysis/details/2994751

Thank you so much for quick reply!

1 Like

The SMBIOS and DMI are only available for us on x86 based platforms so that will not help on AIX unfortunately

https://developer.bigfix.com/relevance/reference/dmi.html
https://developer.bigfix.com/relevance/reference/smbios.html

1 Like

Yes. it did not work. How ever i was able to find below relevance for Linux. I am looking similar for AIX.
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-47 27 av b7 23 e4 38 34-6a eb 7b 9v 8c b8 15 c5
T: 11576

for linux computer model
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: 799

Now that you say that, I do recall this coming up before, and that being the case.

Is there an inspector for this for AIX? Seems like an odd omission from the vendor of both products.

Most of the information in AIX is available in scripting files so implementing it (like the Technology Level inspector) is problematic. The information is available on the command line via AIX specific commands like below (given to me by a BigFix team member). These could be extended into a text file that was examinable for the information.

The command is:

uname -Mu

Which results in a string like:

IBM,9111-285 IBM,0123456F5  

The format of the string is IBM,MMMM-TTT IBM,LLSSSSSSS

Where:
- MMMM is the model and TTT is the Type (uname -M).
- LL is the LPAR number and SSSSSSS the serial number of the system as a whole (uname -u)

If you want just the machine ID number of the hardware running the system, use uname -m

1 Like