OS Platform Regex | OS Platform | Version Regex | Ignore | Priority | Domain ID | Creation Date | ID |
FreeBSD | FreeBSD | \d+\.?\d?+ | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 1 | |
Solaris | Solaris | \d+\.?\d?+ | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 2 | |
AIX | AIX | \d+\.?\d?+ | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 3 | |
Ubuntu | Ubuntu | 6.06LTS|8.04LTS|10.04LTS|12.04LTS|14.04LTS|16.04LTS|\d+\.?\d?+ | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 4 | |
Data ONTAP | Data ONTAP | \d+\.?\d?+ | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 5 | |
MAC | MAC | Rhapsody Developer Release|Server 1.0|Developer Preview|Public Beta|\d+\.?\d?+ | Linux|(64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 6 | |
HP-UX|HPUX | HP-UX| | \d+\.?\d?+ | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 7 | |
CentOS | CentOS | \d+?(/?)\d+?(/?)\d?+ | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 8 | |
openSUSE|SUSE|SLES | openSUSE | Leap 42.1|\d+\.?\d?+ | (64-bit)|(32-bit)|(x86_64) | 1 | 15-DEC-15 12.03.33 | 9 | |
Windows|win | Windows | (\d+?|SERVER|NT|XP|Vista)\s?\d?+ | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 10 | |
Linux | Linux | (64-bit)|(32-bit) | 0 | 15-DEC-15 12.03.33 | 11 | ||
Red Hat|RedHat|rhel | Red Hat | \d+\.?\d?+ | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 12 | |
vmnix | vmnix | -x86|x86 | 1 | 15-DEC-15 12.03.33 | 13 | ||
SunOS | SunOS | \d+\.?\d?+ | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 14 | |
Data Domain | Data Domain | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 15 | ||
Fedora | Fedora | \d+\.?\d?+ | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 16 | |
Debian | Debian | \d+\.?\d?+ | (64-bit)|(32-bit) | 1 | 15-DEC-15 12.03.33 | 17 |
Usage | To insert a regular expression row into the database table, use this command: execute server_group_package.insertCustomerOsNormData(null, 'os_platform_regex', 'os_platform', 'os_version_regex', 'ignore_string', priority, domain_id); To update values in a regular expression row into the database table, use this command: execute server_group_package.insertCustomerOsNormData(os_normalization_id, 'os_platform_regex', 'os_platform', 'os_version_regex', 'ignore_string', priority, domain_id); Where: os_normalization_id: This value is unique for each Regex row (see
Host OS Categorization Default Settings). IDs less than 100000 are system defaults and cannot be removed, but their values can be modified. When inserting a regular expression into the database table, this value must be null because the process assigns this number. os_platform_regex: These strings are used to match a substring in the collected text to identify the platform. This field cannot be null. os_platform: This is the value that is saved to the database when the regular expression is encountered in the collected Host OS. This platform value can never be null, however, the version derived from the version regex may be null. os_version_regex: This is the regular expression used to match a substring in the collected text to identify the version. ignore_string: These strings are ignored and are treated as irrelevant details when determining the platform or version. priority: This value indicates precedence: the higher the value, the higher the priority. For example, Red Hat has a higher priority than Linux, which means that a Host OS that contains a Red Hat substring and a Linux substring will result in a Host OS of Red Hat. User-defined regular expressions must have a priority higher than 1 to override system defaults. This field cannot be null. domain_id: The Domain ID is shipped with a null default value. In multi-tenancy environments, such as Managed Services Providers, the Domain ID can be updated to change the processing for a specific domain/customer. Note that a Creation Date also is saved in the database table. This is the date and time that the Regex record was created in the database. |
Usage | execute server_group_package.updateExisting HostOsinfo(hostGroupId); Where: host_group_id: This is the numeric identifier of a host group. See
Identifying a Host Group ID. |