Table of Contents

Configuring the DataMiner Health Check Tool

To begin receiving results from the DataMiner Health Check Tool, you will first need to configure the test cases and configure the general report settings.

Configuring test cases

There are two main types of test cases that can be configured, script-based tests and subscription-based tests, each providing a different mechanism for querying data to allow for greater flexibility depending on the kind of data being tested.

Script-based tests

Script-based tests use custom automation scripts to execute and retrieve data. These tests can retrieve data from various sources, including DataMiner elements (via SLNet calls), DataMiner Agents (via DMS calls), or other external systems the DMS communicates with. Once the data is retrieved, it is evaluated against predefined thresholds to determine if the test passes or fails.

Several default tests are available related to the state of the DataMiner System, but you can also integrate new tests using automation scripts. For the Health Check tool to recognize the new tests, the automation scripts must be placed in the following folder in the Automation module: Automation Scripts > Health Check > Health Check Tests.

Health Check tests in the Automation module

Adding a script-based test

  1. Make sure the script for the test you want to add is available in the Automation module in the folder Automation Scripts > Health Check > Health Check Tests.

  2. In DataMiner Cube, open the Health Check Manager element and go to the Test Configuration page.

    This page shows a list pre-configured tests related to your DataMiner System's health. These include tests for checking the status of DMAs in the cluster, monitoring active timeouts, and more.

  3. Right-click the Test Configuration table and select Add Test in the context menu.

    Add Test option

  4. In the pop-up window, fill in the required fields:

    • Test Type: Make sure Script is selected.
    • Name: Select an available script-based test.
    • Operator and Threshold: Define the conditions for the test to determine whether it passes or fails.
    • Display Title: Enter a custom and unique name for the test to make it easily identifiable. If provided, this title will be used to identify the test in the email report.
    • Element/DMA Filter: For subscription-based tests, use this field to apply the test to a specific element. For script-based tests, use this field to apply the test to a specific DMA. Both of these filters follow the regex format.
    • Available Element Search: For subscription-based tests only. Use this field to search for elements that are compatible with your chosen subscription.
    • Display Key Filter: Apply this filter if you want the test to consider only certain entries for the test. This filter must be in the format of a regular expression.
    • Status Checkbox: Select this box if you want the text to be enabled as soon as it is created.
    • Severity: Pick from 1 of 5 severities to determine the priority of the test if it fails. This will determine the coloration of the failed test in the Health Check report.

    Test configuration

  5. Click OK to create the test.

Editing a script-based test

  1. In DataMiner Cube, open the Health Check Manager element and go to the Test Configuration page.

  2. Right-click the test you want to edit and select Edit Test in the context menu.

    Edit Test option

    A pop-up window will show the current configuration of the selected test.

  3. Modify any of the fields in the window as needed.

    These are the same fields as when you add a test.

  4. Click OK to apply the changes.

    The updated test configuration will be reflected in the Test Configuration table.

Parameter subscription-based tests

Subscription-based tests allow you to select a specific standalone parameter or table column from any connector in the DataMiner System and subscribe to it. Once you have created a subscription, you can link it to a test that retrieves the parameter's value and evaluates it against defined thresholds. This process helps assess the data's current state and detect any deviations from expected conditions.

Creating a subscription

  1. In DataMiner Cube, open the Health Check Manager element and go to the Test Configuration page.

  2. Right-click the Parameter Subscription Table and select Add Subscription in the context menu.

    Add Subscription option

  3. In the pop-up window, configure the fields to set up the subscription:

    • Protocol: Select the protocol associated with the parameter you want to subscribe to. Only protocols with active elements will be displayed in the dropdown menu.
    • Protocol Version: Select the version of the selected protocol you want to use.
    • Parameter Type: Indicate whether you want to subscribe to a standalone parameter or a table parameter
      • If you select Standalone Parameter, in the Parameter field, select the name of the parameter you want to subscribe to.
      • If you select Table Parameter, specify the table name in the Table field and the column name in the Parameter field.

    Add Subscription window

  4. Click OK to add the subscription.

Editing a subscription

  1. In DataMiner Cube, open the Health Check Manager element and go to the Test Configuration page.

  2. Right-click the Parameter Subscription Table and select Edit Subscription in the context menu.

    Edit Subscription

    A pop-up window will show the current configuration of the selected subscription.

  3. Modify any of the fields in the window as needed.

    These are the same fields as when you create a subscription.

  4. Click OK to apply the changes.

    The updated subscription will now be reflected in the Parameter Subscriptions table.

Linking a subscription to a test

After you have created a subscription, you will still need to link it to a test:

  1. In DataMiner Cube, open the Health Check Manager element and go to the Test Configuration page.

  2. Right-click the Test Configuration table and select Add Test in the context menu.

  3. In the pop-up window, fill in the required fields:

    • Test Type: Set this field to Subscription.
    • Name: Select the name of the subscription you want to link to a test.
    • Operator and Threshold: Define the conditions to determine whether the test passes or fails.
    • Display Title: Optionally, enter a custom name for the test to make it easily identifiable.
    • Element/DMA Filter: Use this field to apply the test to a specific element. Enter the name of the element you want to target.
    • Display Key Filter: Use this field if the test should only consider specific entries. The filter must be in the format of a regular expression.
    • Status Checkbox: Select this box if you want the text to be enabled as soon as it is created.
    • Severity: Pick from 1 of 5 severities to determine the priority of that test if it fails.

    Link Subscription to Test

These are some recommended subscription-based tests that will monitor the servers and databases used in the DataMiner System.

Microsoft Platform protocol

Total processor load is below 80%
  • Subscription settings

    Total processor load subscription settings for Windows

  • Test configuration settings

    Total processor load test configuration for Windows

Memory usage is below 75%
  • Subscription settings

    Memory usage subscription settings for Windows

  • Test configuration settings

    Memory usage test configuration for Windows

Days since last reboot
  • Subscription settings

    Days since last reboot subscription settings

  • Test configuration settings

    Days since last reboot test configuration

Linux Platform protocol

These tests are useful when utilizing an on-premises database with Cassandra, OpenSearch, and/or Elasticsearch nodes.

Total processor load is below 90%
  • Subscription settings

    Total processor load subscription settings for Linux

  • Test configuration settings

    Total processor load test configuration for Linux

Memory usage is below 75%
  • Subscription settings

    Memory usage subscription settings for Linux

  • Test configuration settings

    Memory usage test configuration for Linux

Database node uptime
  • Subscription settings

    Node uptime subscription settings

  • Test configuration settings

    Node uptime test configuration

Database disk space is low
  • Subscription settings

    Low disk space subscription settings

  • Test configuration settings

    Low disk space test configuration

Configuring email reports

The DataMiner Health Check Tool can provide daily email reports summarizing the results of the tests that have been executed.

To set up the recipients for the email reports, follow these steps:

  1. In DataMiner Cube, open the Health Check Manager element and go to the Configuration page.

  2. In the Email Title section, adjust the subject of the email to the format you prefer.

    The following dynamic values are supported:

    • [DMS]: Shows the exact DMS.
    • [DATETIME]: Shows the date and time when the Health Check ran.
    • [SUCCESSRATE]: Shows the overall success rate of the Health Check.
  3. In the Email Configuration section, make sure Email State is set to Enabled, so that email reporting is activated.

  4. In the Email Addresses field, enter a list of email addresses that should get the reports, using a comma (,) as a separator.

  5. In the Report Sending Mode field, select if the Health Check should be sent to the specified emails only based on the specified recurrence times (Scheduled Execution Only) or also whenever the test is executed (Always).

Configuring the test execution schedule

You have the flexibility to schedule when and how frequently tests will run to ensure they align with your operational needs. Follow the steps below to configure the test execution schedule:

  1. In DataMiner Cube, open the Health Check Manager element and go to the Configuration page.

  2. In the Test Settings section, click the Edit button.

    This will open a new window where you can configure the test schedule.

  3. Configure the settings for the test schedule:

    • Select the time when the tests should run (for example, 22:00).
    • Select how often the tests should be executed (Daily, Weekly, Every X days, etc.).

    Test recurrence

  4. When you have configured the schedule, click OK.

    The updated settings will be reflected in the Test Settings section.

Note

The Test Settings section also contains the Long Duration Time parameter, which lets you set the time span for including test results in the Overall Failure Rate (Longer Duration) calculations. For example, if this is set to 7 days, only test results from the last 7 days will be considered in the failure rate.