Skip to main content
Version: 10.2

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

  1. Open a command prompt with Administrator level privileges.

  2. Go to the bin directory, which is by default in C:\Program Files\OpeniT\Core\bin, run the command:

    Command Syntax
    cd $BIN_DIR
    Example
    cd C:\Program Files\OpeniT\Core\bin
  3. Once in the directory, activate the processing of licpoll2 archived data, run the command:

    Command Syntax
    openit_oconfinit -u "process_datamonitor.root.scheduler.jobs.process_licpoll2_monitoring.general.active=true"
  4. To activate the processing of licpoll2 archived data upon restart (jumpstart) of Open iT services, run the command:

    Command Syntax
    openit_oconfinit -u "process_datamonitor.root.scheduler.jobs.process_licpoll2_monitoring.general.jumpstart=true"
  5. To enable various parameters that define what the binary will do, run the command:

    Command Syntax
    openit_oconfinit -u "root.scheduler.jobs.process_licpoll2_monitoring.operations.arguments=<optional_parameter>"

    OPTIONS:

    ParameterDescription
    --dir archiveThis will point to the archive directory, which is by default in C:\ProgramData\OpeniT\Data\archive.
    --dir licstatThis will point to the license status directory, which is by default in C:\ProgramData\OpeniT\Data\license_status.
    -a | --archtypeThe archive type of the data that the binary will create.
    --utcThe date configuration to use (utc or gmt).
    Optional Parameters defining Binary Behavior

    Example
    openit_oconfinit -u "root.scheduler.jobs.process_licpoll2_monitoring.operations.arguments=--dir archive -a | --archtype"
    warning

    All archive will be processed if archive type is not specified.

Configuring License Status Data for Data Monitor Processing

  1. Open a command prompt with Administrator level privileges.

  2. Go to the bin directory, which is by default in C:\Program Files\OpeniT\Core\bin, run the command:

    Command Syntax
    cd $BIN_DIR
    Example
    cd C:\Program Files\OpeniT\Core\bin
  3. Once in the directory, activate the processing of license status data, run the command:

    Command Syntax
    openit_oconfinit -u "process_datamonitor.root.scheduler.jobs.process_licenstatus_monitoring.general.active=true"
  4. To activate the processing of license status data upon restart (jumpstart) of Open iT services, run the command:

    Command Syntax
    openit_oconfinit -u "process_datamonitor.root.scheduler.jobs.process_licpoll2_monitoring.general.jumpstart=true"

Executing Data Monitor Manually

  1. Open the command prompt with Administrator level priivileges.

  2. Go to the bin directory, which is by default in C:\Program Files\OpeniT\Core\bin, run the command:

    Command Syntax
    cd $BIN_DIR
    Example
    cd "C:\Program Files\OpeniT\Core\bin"
  3. Once in the directory, execute the following command.

    Command Syntax
    openit_datamonitor <start-date> <end-date>

    REQUIRED PARAMETERS:

    ParameterDescription
    <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

    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:

    ParameterDescription
    --dir archiveThis will point to the archive directory, which is by default in C:\ProgramData\OpeniT\Data\archive.
    --dir licstatThis will point to the license status directory, which is by default in C:\ProgramData\OpeniT\Data\license_status.
    -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

    Combine or use optional parameters at the same time to achieve necessary capabilities.

    Command Syntax
    openit_datamonitor -dir archive --archtype licpoll2 --utc 2022-01-01 2023-01-01
  4. Verify that the AlertMonitoring.db is created in the admin directory, which is by default in C:\ProgramData\OpeniT\Data\admin. This is the default output of the binary.