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
- Windows
- Unix
-
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 -
Once in the directory, activate the processing of licpoll2 archived data, run the command:
Command Syntaxopenit_yamlinit coreserver update asset process_licpoll2_monitoring.yaml:general.active=true -
To set various parameters defining what the binary will periodically do, run the command:
Command Syntaxopenit_yamlinit coreserver update asset process_licpoll2_monitoring.yaml:operations.arguments=<optional_parameters>OPTIONS:
Parameter Description --dir <arg>Use this to specify the directory path to where the output will be placed.
Possible values are:archive-C:\ProgramData\OpeniT\Data\archivelicstat-C:\ProgramData\OpeniT\Data\license_status
-a|--archtypeUse this to specify the archive type of the data that the binary will process. If not specified, all archive will be processed. --utcUse this to use the utc/gmt date configuration. Optional Parameters defining Binary Behavior
Exampleopenit_yamlinit coreserver update asset process_licpoll2_monitoring.yaml:operations.arguments="--dir licstat" -
Open the Task Manager.
-
Under Services, restart the OpeniTCoreServerPipeline service.
-
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, activate the processing of licpoll2 archived data, run the command:
Command Syntax./openit_yamlinit coreserver update asset process_licpoll2_monitoring.yaml:general.active=true -
To set various parameters defining what the binary will periodically do, run the command:
Command Syntax./openit_yamlinit coreserver update asset process_licpoll2_monitoring.yaml:operations.arguments=<optional_parameters>OPTIONS:
Parameter Description --dir <arg>Use this to specify the directory path to where the output will be placed.
Possible values are:archive- the archive directory in the data-dir defined upon installationlicstat- the license status directory in the data-dir defined upon installation.
-a|--archtypeUse this to specify the archive type of the data that the binary will process. If not specified, all archive will be processed. --utcUse this to use the utc/gmt date configuration. Optional Parameters defining Binary Behavior
Example./openit_yamlinit coreserver update asset process_licpoll2_monitoring.yaml:operations.arguments="--dir licstat" -
Restart the Open iT Core Server Pipeline service, run the command:
Command Syntaxsystemctl restart openit-coreserverpipeline
Configuring License Status Data for Data Monitor Processing
- Windows
- Unix
-
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 -
Once in the directory, activate the processing of license status data, run the command:
Command Syntaxopenit_yamlinit coreserver update asset process_licenstatus_monitoring.yaml:general.active=true -
Open the Task Manager.
-
Under Services, restart the OpeniTCoreServerPipeline service.
-
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, activate the processing of license status data, run the command:
Command Syntax./openit_yamlinit coreserver update asset process_licenstatus_monitoring.yaml:general.active=true -
Restart the Open iT Core Server Pipeline service, run the command:
Command Syntaxsystemctl restart openit-coreserverpipeline
Executing Data Monitor Manually
- Windows
- Unix
-
Open the 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" -
Once in the directory, run the command:
Command Syntaxopenit_datamonitor <start-date> <end-date>REQUIRED PARAMETERS:
Parameter Description <start-date>The start of the included dates to process YYYY-MM-DD; if not specified, the default value is the day before the binary execution.<end-date>The end of the included date to process YYYY-MM-DD; if not specified, the default value is the day of the binary execution.Required Parameters for Data Monitor Execution
Exampleopenit_datamonitor 2022-01-01 2023-01-01This 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:
Parameter Description --dir <arg>Use this to specify the directory path to where the output will be placed.
Possible values are:archive- the archive directory in the data-dir defined upon installationlicstat- the license status directory in the data-dir defined upon installation.
-a|--archtypeUse this to specify the archive type of the data that the binary will process. If not specified, all archive will be processed. --utcUse this to use the utc/gmt date configuration. 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 -
Verify that the
AlertMonitoring.dbis created in the admin directory, which is by default inC:\ProgramData\OpeniT\Data\admin. 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, run the command:
Command Syntax./openit_datamonitor <start-date> <end-date>REQUIRED:
Parameter Description start-dateThe start of the included dates to process YYYY-MM-DD; if not specified, the default value is the day before the binary execution.end-dateThe end of the included date to process YYYY-MM-DD; if not specified, the default value is the day of the binary execution.Required Parameters for Data Monitor Execution
Example./openit_datamonitor 2022-01-01 2023-01-01This 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:
Name Description --dir archiveThis will point to the archive directory in the data-dir defined upon installation. --dir licstatThis will point to the license status directory in the data-dir defined upon installation. -a | --archtypeThe archive type of the data that the binary will create. --utcThe date configuration to use (utc or gmt). If not specified, gmt will be used. Optional Parameters defining Binary Behavior
warningAll 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 -
Verify that the
AlertMonitoring.dbis created in the admin directory in your defined data_dir (<root_data_dir>) upon Open iT server installation. This is the default output of the binary.