We’re upgrading your documentation experience!
A new doc website is live at docs.openit.cloud — a temporary preview during our transition. This website is now in maintenance-only mode (only critical issues will be addressed).
Explore the new website and send us your feedback!
#
Including or Excluding Vendors in Building License Configuration
Open iT Autodetect is an application that automatically detects license information by scanning process arguments. After this, the openit_licenseconfigbuilder configures licpoll.xml, flexlogcollector2.xml, and flexpoller.xml for the license collection based on the detected servers or vendors.
#
Specifying the Vendors to Include or Exclude
These are the required steps to configure the vendor.exclude file for listing the vendors to include or exclude in building the license configuration:
Open the
vendor.excludefile in the Configuration directory, which is by default inC:\Program Files\OpeniT\Core\Configuration.List vendors to include with the following syntax:
vendor.exclude<use> vendor=<pattern>where:
useis used to specify if you want to include or exclude a vendor name pattern.
patternis used to specify the pattern that the vendor name needs to match. Globbing is allowed.For example, you want to include vendors starting with
flex, use the following syntax:Exampleinclude vendor=flex*Save the changes.
Open the
vendor.excludefile in the etc directory, which is by default in/var/opt/openit/etc.List vendors to include with the following syntax:
vendor.exclude<use> vendor=<pattern>where:
useis used to specify if you want to include or exclude a vendor name pattern.
patternis used to specify the pattern that the vendor name needs to match. Globbing is allowed.For example, you want to include vendors starting with
flex, use the following syntax:Exampleinclude vendor=flex*Save the changes.
You can create a different file for listing the vendors to include or exclude but you need to update licenseconfigbuilder.xml to specify the path to the said file; read
#
Specifying the Exclude Path
Follow these steps if you created a new exclude file; otherwise, skip to
Open
licenseconfigbuilder.xmlin the Components directory, which is by default inC:\Program Files\OpeniT\Core\Configuration\Components.Locate object
vendor-exclude-fileand set its value to the full path to the exclude file:licenseconfigbuilder.xml52| <Object> 53| <Name>vendor-exclude-file</Name> 54| <Description>Exclude/Include configuration file</Description> 55| <Value type="FileName">${OpeniT.directories.conf}/vendor.exclude</Value> 56| </Object>Example: licenseconfigbuilder.xml52| <Object> 53| <Name>vendor-exclude-file</Name> 54| <Description>Exclude/Include configuration file</Description> 55| <Value type="FileName">${OpeniT.directories.conf}/sample.exclude</Value> 56| </Object>Save the changes.
Open a command prompt with Administrator level privileges.
Go to the bin directory, which is by default in
C:\Program Files\OpeniT\Core\bin, run the command:Example: Command Syntaxcd C:\Program Files\OpeniT\Core\binUpdate the configuration file, run the command:
Command Syntaxopenit_confbuilder --client
Open
licenseconfigbuilder.xmlin the Components directory, which is by default in/var/opt/openit/etc/Components.Locate object
vendor-exclude-fileand set its value to the full path to the exclude file:licenseconfigbuilder.xml52| <Object> 53| <Name>vendor-exclude-file</Name> 54| <Description>Exclude/Include configuration file</Description> 55| <Value type="FileName">${OpeniT.directories.conf}/vendor.exclude</Value> 56| </Object>Example: licenseconfigbuilder.xml52| <Object> 53| <Name>vendor-exclude-file</Name> 54| <Description>Exclude/Include configuration file</Description> 55| <Value type="FileName">${OpeniT.directories.conf}/sample.exclude</Value> 56| </Object>Save the changes.
Go to the bin directory, which is by default in
/var/opt/openit/bin, run the command:Example: Command Syntaxcd /var/opt/openit/binUpdate the configuration file, run the command:
Command Syntax./openit_confbuilder --client
#
Verifying Successful Configuration
After configuration, you can verify if the changes take effect by running the openit_licenseconfigbuilder application. It runs periodically based on the defined triggers under the scheduling attribute in core_licenseconfigbuilder.oconf in the scheduler directory, which is by default in C:\Program Files\OpeniT\Core\Configuration\scheduler.
If you want to verify immediately, follow these steps:
Open a command prompt with Administrator level privileges.
Go to the bin directory, which is by default in
C:\Program Files\OpeniT\Core\bin, run the command:Example: Command Syntaxcd C:\Program Files\OpeniT\Core\binRun the command:
Command Syntaxopenit_licenseconfigbuilderVerify that the configurations of vendors you wanted to collect usage data from are present and the vendors you wanted to exclude are not found in the configuration files
licpoll.xml,flexlogcollector2.xml, orflexpoller.xml.Configurations based on the detected autocollectors start with
auto_.
After configuration, you can verify if the changes take effect by running the openit_licenseconfigbuilder application. It runs periodically based on the defined triggers under the scheduling attribute in core_licenseconfigbuilder.oconf in the scheduler directory, which is by default in /var/opt/openit/etc/scheduler.
If you want to verify immediately, follow these steps:
Go to the bin directory, which is by default in
/var/opt/openit/bin, run the command:Example: Command Syntaxcd /var/opt/openit/binRun the command:
Command Syntax./openit_licenseconfigbuilderVerify that the configurations of vendors you wanted to collect usage data from are present and the vendors you wanted to exclude are not found in the configuration files
licpoll.xml,flexlogcollector2.xml, orflexpoller.xml.Configurations based on the detected autocollectors start with
auto_.