#
Open iT Data Monitor and Alerts
The Open iT Data Monitor and Alerts allows the user to monitor and evaluate the data situation and stability processed in the Core Server. It evaluates the archived data and records each vendor license's daily life count and size. It also processes the license status files to get the number of registered vendor licenses that will be the baseline for sending email alerts.
#
Data Monitor Processing
The openit_datamonitor
binary processes the data used by the Data Monitor. It processes the archive and license status directories to get the file count and size as a basis for data stability.
#
Configuring Open iT Data Monitor and Alerts
Open
process_datamonitor.oconf
in the scheduler directory, which is by default inC:\Program Files\OpeniT\Core\Configuration\scheduler
.Locate and set root.scheduler.jobs.process_licpoll2_monitoring.general.active to true to activate the processing of licpoll2 archived data.
process_datamonitor.oconf1|root 2|{ 3| scheduler 4| { ... 14| general 15| { 16| active 17| { 18| type=bool 19| value=true ...
Locate and set root.scheduler.jobs.process_licpoll2_monitoring.general.jumpstart to true to activate the processing of licpoll2 archived data.
process_datamonitor.oconf1|root 2|{ 3| scheduler 4| { ... 14| general 15| { ... 21| jumpstart 22| { 23| description=Run as part of startup 24| type=bool 25| value=true ...
Locate and set root.scheduler.jobs.process_licpoll2_monitoring.operations.arguments to various parameters that define what the binary will do.
OPTIONS:
Optional Parameters defining Binary Behavior
All archive will be processed if archive type is not specified.
Save the changes.
Open
process_datamonitor.oconf
in the scheduler directory, which is by default in/var/opt/openit/etc/scheduler
.Locate and set root.scheduler.jobs.process_licpoll2_monitoring.general.active to true to activate the processing of licpoll2 archived data.
process_datamonitor.oconf1|root 2|{ 3| scheduler 4| { ... 14| general 15| { 16| active 17| { 18| type=bool 19| value=true ...
Locate and set root.scheduler.jobs.process_licpoll2_monitoring.general.jumpstart to true to activate the processing of licpoll2 archived data upon restart (jumpstart) of Open iT services.
process_datamonitor.oconf1|root 2|{ 3| scheduler 4| { ... 14| general 15| { ... 21| jumpstart 22| { 23| description=Run as part of startup 24| type=bool 25| value=true ...
Locate and set root.scheduler.jobs.process_licpoll2_monitoring.operations.arguments to various parameters that define what the binary will do.
OPTIONS:
Optional Parameters defining Binary Behavior
All archive will be processed if archive type is not specified.
Save the changes.
#
Configuring License Status Data for Data Monitor Processing
Open
process_datamonitor.oconf
in the scheduler directory, which is by default inC:\Program Files\OpeniT\Core\Configuration\scheduler
.Locate and set root.scheduler.jobs.process_licenstatus_monitoring.general.active to true to activate the processing of license status data.
process_datamonitor.oconf106| process_licensestatus_monitoring 107| { 108| about 109| { 110| type=string 111| value=Run DataMonitor for license_status dir 112| } 113| general 114| { 115| active 116| { 117| type=bool 118| value=true
Locate and set root.scheduler.jobs.process_licpoll2_monitoring.general.jumpstart to true to activate the processing of license status data upon restart (jumpstart) of Open iT services.
process_datamonitor.oconf106| process_licensestatus_monitoring 107| { 108| about 109| { 110| type=string 111| value=Run DataMonitor for license_status dir 112| } 113| general 114| { ... 120| jumpstart 121| { 122| description=Run as part of startup 123| type=bool 124| value=true ...
Save the changes.
Open
process_datamonitor.oconf
in the scheduler directory, which is by default in/var/opt/openit/etc/scheduler
.Locate and set root.scheduler.jobs.process_licenstatus_monitoring.general.active to true to activate the processing of license status data.
process_datamonitor.oconf106| process_licensestatus_monitoring 107| { 108| about 109| { 110| type=string 111| value=Run DataMonitor for license_status dir 112| } 113| general 114| { 115| active 116| { 117| type=bool 118| value=true
Locate and set root.scheduler.jobs.process_licpoll2_monitoring.general.jumpstart to true to activate the processing of license status data upon restart (jumpstart) of Open iT services.
process_datamonitor.oconf106| process_licensestatus_monitoring 107| { 108| about 109| { 110| type=string 111| value=Run DataMonitor for license_status dir 112| } 113| general 114| { ... 120| jumpstart 121| { 122| description=Run as part of startup 123| type=bool 124| value=true ...
Save the changes.
#
Executing Data Monitor Manually
Open the command prompt with Administrator level priivileges.
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"
Once in the directory, execute the following command.
Command Syntaxopenit_datamonitor [start-date] [end-date]
REQUIRED PARAMETERS:
Required Parameters for Data Monitor Execution
Exampleopenit_datamonitor 2022-01-01 2023-01-01
This will get data from January 1, 2022 to January 1, 2023.
To further customize the command, use the optional parameters.
Command Syntaxopenit_datamonitor [options] [start-date] [end-date]
OPTIONAL PARAMETERS:
Optional Parameters defining Binary Behavior
Combine or use optional parameters at the same time to achieve necessary capabilities.
Command Syntaxopenit_datamonitor -dir archive --archtype licpoll2 --utc 2022-01-01 2023-01-01
Go to
C:\ProgramData\OpeniT\Data\admin
and verify that AlertMonitoring.db is created. This is the default output of the binary.
Go to the bin directory, which is by default in
/opt/openit/bin
, run the command:Command Syntaxcd $BIN_DIR
Examplecd /opt/openit/bin
Once in the directory, execute the following command.
Command Syntax./openit_datamonitor [start-date] [end-date]
REQUIRED PARAMETERS:
Required Parameters for Data Monitor Execution
Example./openit_datamonitor 2022-01-01 2023-01-01
This will get data from January 1, 2022 to January 1, 2023.
To further customize the command, use the optional parameters.
Command Syntax./openit_datamonitor [options] [start-date] [end-date]
OPTIONAL PARAMETERS:
Optional Parameters defining Binary Behavior
All archive will be processed if archive type is not specified.
Combine or use optional parameters at the same time to achieve necessary capabilities.
Example./openit_datamonitor -dir archive --archtype licpoll2 --utc 2022-01-01 2023-01-01
Go to the
C:\ProgramData\OpeniT\Data\admin
and verify that AlertMonitoring.db is created. This is the default output of the binary.