Configuring the collation.properties file entries

This topic lists the collation.properties file entries that the IBM® AIX® computer system sensor uses.

The sensor uses the following entry in the collation.properties file:
com.collation.discover.agent.command.lswpar.AIX=sudo lswpar
The lswpar command requires administration privileges.
com.collation.platform.os.command.crontabEntriesCommand.AIX=crontab -l
This property is used to discover crontab entries. You can specify this property as a scoped property by appending an IP address or a scope set name to the property. The following example uses an appended IP address:
com.collation.platform.os.command.crontabEntriesCommand.AIX.1.2.3.4=crontab -l
com.collation.platform.os.command.crontabEntriesUsers.AIX=root
This property is used to discover crontab entries for a specified user, use a comma-separated list to specify more than one user. You can specify this property as a scoped property by appending an IP address or a scope set name to the property. The following example uses an appended IP address:
com.collation.platform.os.command.crontabEntriesUsers.AIX.1.2.3.4=root,build
com.collation.discover.agent.sys.ComputerSystem.serialNumberSanityChecks=
"ˆ(?!null);ˆ(?!not );ˆ(?!n/a);ˆ(?!permission);ˆ(?!to be );ˆ(?!undef); ˆ[ -:\.\w]{4,80}$; ^(?!.{8}(\-.{4}){3}\-.{12}_.{2}(:.{2}){5});^(?!none);^(?!x{7});^(?!\.{9});^(?!0123456789);^(?!0+$)";

This property is used to validate the serialNumber property that is discovered by the operating system sensors, except Solaris, to avoid storing generic values, such as Not Defined, To be set by OEM, or Permission Denied.

The main default rule is that a serial number must contain from 4 to 80 characters and not begin with one of the following strings:
  • null : regular expression ^(?!null)
  • not : regular expression ^(?!not)
  • n/a : regular expression ^(?!n/a)
  • permission : regular expression ^(?!permission)
  • to be : regular expression ^(?!to be)
  • undef : regular expression ^(?!undef)
  • string in form : 098D8710-E623-3C3B-9F9B-FCBAFF1BF3B6_5C:F3:FC:E8:89:FC : regular expression ^(?!.{8}(\-.{4}){3}\-.{12}_.{2}(:.{2}){5})
  • none : regular expression ^(?!none)
  • xxxxxxx : regular expression ^(?!x{7})
  • ......... : regular expression ^(?!\.{9})
  • 0123456789 : regular expression ^(?!0123456789)
  • 0000 : regular expression ^(?!0+$)

If a serial number does not follow this rule, it is not set. The regular expression syntax is defined in the Java™ SDK for class java.util.regex.Pattern. Regular expressions must be separated by semicolons. Candidate serial numbers are always converted to all lowercase before they are matched against the regular expressions. Therefore, when you customize the property, use lowercase characters only.