How to write a query: SeekList and Virtual Hosts

(imported topic written by ktakada91)

Hi,

I have three questions:

  1. How do I write relevance to query the location by IP range? This custom property is defined as:

if exist values of settings “_BESClient_Register_Affiliation_SeekList%22%3d%22%7bsetting %22Location by IP Range%22 of client%3bHub” of client then value of setting “_BESClient_Register_Affiliation_SeekList%22%3d%22%7bsetting %22Location by IP Range%22 of client%3bHub” of client else error “not set”

  1. Is there a way to query if the host is a physical host or a virtual host (assuming VMWare)?

  2. Lastly, I am trying to write an analysis that combines the above and some other computer info. Would someone kindly show me the way?

concatenation "; " of (concatenation ", " of hostnames; distinguished name of local computer of active directory; concatenation ", " of (addresses of adapters of network as string); operating system as string)

I don’t know how to check if the host belongs to a domain first, either in the above relevance. I need to run this query against non-Windows servers as well.

Thank you,

Kotaro Takada

(imported comment written by SystemAdmin)

  1. Is there a way to query if the host is a physical host or a virtual host (assuming VMWare)?

below will show you “True” if its a microsoft virtual or a vmware virtual

(value "manufacturer" of structure "system_information" of smbios as string) contains "VMware" or (value "manufacturer" of structure "system_information" of smbios as string) contains "Microsoft"

(imported comment written by SystemAdmin)

This relevance works for Linux, but does not work for AIX.

I have tried to find inspectors to do the same for AIX but have not been successful

Does anyone know how to do the same in AIX, i.e. determine if it is a virtual or physical machine?