#
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.exclude
file 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:
use
is used to specify if you want to include or exclude a vendor name pattern.
pattern
is 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.exclude
file 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:
use
is used to specify if you want to include or exclude a vendor name pattern.
pattern
is 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.xml
in the Components directory, which is by default inC:\Program Files\OpeniT\Core\Configuration\Components
.Locate object
vendor-exclude-file
and 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\bin
Update the configuration file, run the command:
Command Syntaxopenit_confbuilder --client
Open
licenseconfigbuilder.xml
in the Components directory, which is by default in/var/opt/openit/etc/Components
.Locate object
vendor-exclude-file
and 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/bin
Update 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\bin
Run the command:
Command Syntaxopenit_licenseconfigbuilder
Verify 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/bin
Run the command:
Command Syntax./openit_licenseconfigbuilder
Verify 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_
.