#
EPLAN License Manager
#
Introduction
Open iT supports EPLAN usage reporting by collecting log files and converting them to Open iT format.
This will produce the following aggregated data types used for historical reporting:
- (89) Total License Use Licenseevents
- (90) Individual License Use Licenseevents
- (91) Usergroup License Use Licenseevents
- (108) Host License Use Licenseevents
- (109) Hostgroup License Use Licenseevents
- (104) License Logfile Events v2.0
- (107) Denied License Use Licenseevents
The following sections will guide you in setting up the necessary configuration to collect and send the required data to the server.
Apply the configurations shown in the Open iT client.
#
Requirements
- EPLAN License Manager Version 2022.0.3.339
- License server name
- Full path to the ELM Monitor application,
elmmonitor.exe
- Full path to the debug log file
- An Open iT Client connected to an Open iT Server or a coexistent Open iT setup
#
Configuring Raw Data Collection
These are the required steps to obtain license usage data from the EPLAN license manager.
Go to the scheduler directory, which is by default in
C:\Program Files\OpeniT\Core\Configuration\scheduler
, and opencollect_license_eplan-raw.oconf
.Locate and set
root.scheduler.jobs.run_elmmonitor.general.active
totrue
to activate raw data collection.collect_license_eplan-raw.oconf15| } 16| general 17| { 18| active 19| { 20| type=bool 21| value=true
Locate
root.scheduler.jobs.run_elmmonitor.operations.arguments
.collect_license_eplan-raw.oconf40| } 41| arguments 42| { 43| type=string 44| value=--elmmonitor_path "%ELMMONITORPATH%" --servername %SERVERNAME% --xmlfile "${OpeniT.directories.conf}/eplan-report.xml" --outputdir "${OpeniT.directories.temp}/Raw.EPLAN.Report" 45| }
Set the full path to the ELM monitor application
%ELMMONITORPATH%
and the EPLAN license server name%SERVERNAME%
.You can also include the date range of the data you want to collect following the format
--from "DD-MM-YYYY" --to "DD-MM-YYYY"
(e.g.,--from "01.01.2023" --to "26.09.2023"
).Example: collect_license_eplan-raw.oconf40| } 41| arguments 42| { 43| type=string 44| value=--elmmonitor_path "C:/Program Files/EPLAN/ELM/ElmMonitor.exe" --servername hou105win --xmlfile "${OpeniT.directories.conf}/eplan-report.xml" --outputdir "${OpeniT.directories.temp}/Raw.EPLAN.Report" --from "01.01.2023" --to "26.09.2023" 45| }
Save the changes.
#
EPLAN Events Log File Collection Configuration
#
Activating Event Log Data Collection
These are the required steps to activate event log data collection.
Go to the scheduler directory, which is by default in
C:\Program Files\OpeniT\Core\Configuration\scheduler
, and opencollect_license_eplan-logs.oconf
.Locate and set
root.scheduler.jobs.collect_eplan_licenselogs.general.active
totrue
to activate the collection of EPLAN event log data.collect_license_eplan-logs.oconf13| } 14| general 15| { 16| active 17| { 18| type=bool 19| value=true
Save the changes.
The collection runs hourly using a 5-minute sample interval by default. The primary data is then transferred to the server every night according to the client timezone for processing. To configure the intervals, locate the instances
attribute under collect_eplan_licenselogs
, preprocess_eplan_licenselogs-events
, or transfer_eplan_licenselogs
in the same file and configure the attributes.
Refer to the EPLAN Event Log Job Scheduler Instances Configuration table to learn the attributes used to configure EPLAN events data collection and transfer.
#
Modifying Feature Name and Bundle Number Separator for Event Log Data
These are the required steps to modify the feature name and bundle number separator for event log data if you don't want to use the default, ()
.
The bundle number is required for record type to correctly determine the max available licenses.
Go to the Configuration directory, which is by default in
C:\Program Files\OpeniT\Core\Configuration
, and openmatchobjects-event-eplan.oconf
.Locate the
data-process11
node under thepost-processing
node and change[
and]
.matchobjects-event-eplan.oconf141| data-process11 142| { 143| description=Presentation of feature name. Configurable. Prohibited character:"|" 144| type=string 145| value=feature=(feature!="" && bundle!="") ? feature + "[" + bundle + "]":feature 146| }
Sample OutputEPLAN Electric P8. Professional[4]
You can use any character except
|
.Example: matchobjects-event-eplan.oconf141| data-process11 142| { 143| description=Presentation of feature name. Configurable. Prohibited character:"|" 144| type=string 145| value=feature=(feature!="" && bundle!="") ? feature + "<" + bundle + ">":feature 146| }
Sample OutputEPLAN Electric P8. Professional<4>
Save the changes.
#
Verifying Event Log Data Collection
After configuration, you can verify that the data is collected and sent to the server by following 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:Command Syntaxcd $BIN_DIR
Examplecd C:\Program Files\OpeniT\Core\bin
Run the command:
Command Syntaxopenit_executor -r collect_license_eplan-logs
Verify that there are
archiver*.in
files created in the server in the archiver directory, which is by default inC:\ProgramData\OpeniT\Data\incoming\archiver
.
#
EPLAN Records Log File Collection Configuration
#
Activating Record Log Data Collection
These are the required steps to activate record log data collection.
Go to the scheduler directory, which is by default in
C:\Program Files\OpeniT\Core\Configuration\scheduler
, and opencollect_license_eplan-record-logs.oconf
.Locate and set
root.scheduler.jobs.collect_eplan_licenselogs-records.general.active
totrue
to activate the collection of EPLAN record log data.collect_license_eplan-record-logs.oconf13| } 14| general 15| { 16| active 17| { 18| type=bool 19| value=true
Save the changes.
The collection runs hourly using a 5-minute sample interval by default. The primary data is then transferred to the server every night according to the client timezone for processing. To configure the intervals, locate the instances
attribute under collect_eplan_licenselogs-records
, preprocess_eplan_licenselogs-records
, or transfer_eplan_licenselogs-records
in the same file and configure the attributes.
Refer to the EPLAN Record Log Job Scheduler Instances Configuration table to learn the attributes used to configure EPLAN records data collection and transfer.
#
Modifying Feature Name and Bundle Number Separator for Record Log Data
These are the required steps to modify the feature name and bundle number separator for record log data if you don't want to use the default, ()
.
The bundle number is required for record type to correctly determine the max available licenses.
Go to the Configuration directory, which is by default in
C:\Program Files\OpeniT\Core\Configuration
, and openmatchobjects-record-eplan.oconf
.Locate the
data-process2
node under thepost-processing
node and change[
and]
.matchobjects-record-eplan.oconf134| data-process2 135| { 136| description=Presentation of feature name. Configurable. Prohibited character:"|" 137| type=string 138| value=feature=(feature!="" && bundle!="") ? feature + "[" + bundle + "]":feature 139| }
Sample OutputEPLAN Electric P8. Professional[4]
You can use any character except
|
.Example: matchobjects-record-eplan.oconf134| data-process2 135| { 136| description=Presentation of feature name. Configurable. Prohibited character:"|" 137| type=string 138| value=feature=(feature!="" && bundle!="") ? feature + "<" + bundle + ">":feature 139| }
Sample OutputEPLAN Electric P8. Professional <4>
Save the changes.
#
Verifying Record Log Data Collection
After configuration, you can verify that the data is collected and sent to the server by following 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:Command Syntaxcd $BIN_DIR
Examplecd C:\Program Files\OpeniT\Core\bin
Run the command:
Command Syntaxopenit_executor -r collect_license_eplan-record-logs
Verify that there are
archiver*.in
files created in the server in the archiver directory, which is by default inC:\ProgramData\OpeniT\Data\incoming\archiver
.
#
Next Steps?
Renaming Vendor License Renaming Features Create and Add Report License Monitor