Troubleshooting no data issues for NTP Statistics

Troubleshooting no data issues for NTP Statistics

This article helps troubleshoot scenarios where NTP statistics metrics display "No Data Available" message for Windows and Linux monitors in Applications Manager. Follow the steps below to validate NTP configuration, verify permissions, and diagnose metric collection issues for respective operating systems:

Windows monitor (WMI)

Method 1: Validate NTP configuration from monitored Windows host server

Verify whether the Windows system is configured correctly for NTP synchronization and ensure that the monitoring user has the required registry access permissions.

  1. Open the Registry Editor on the monitored Windows host.
  2. Navigate to the following registry path:
    Quote
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
  3. Right-click the Parameters folder and select Permissions.
  4. Ensure that the user account configured for monitoring in Applications Manager has Read permission.
  5. Verify the following registry values: 
    Registry Value
    Description
    NtpServer
    Displays the configured NTP server(s) used for time synchronization.
    Type
    Indicates the time synchronization mode configured on the host (for example: NTPNT5DS).

Method 2: Validate NTP configuration from Applications Manager web client

  1. Navigate to Settings → Tools → Self Help Tools → WMI Tool.
  2. Select the problematic host from the drop-down.
  3. Choose Windows as the monitor type.
  4. Select NTP Statistics metrics from the metrics list.
  5. Click Execute to run diagnostics.
  6. Verify the output generated for the required NTP metrics.
  7. Optionally, export the diagnostic output using the Save as PDF option available on the right side of the page.

Method 3: Validate NTP configuration from Applications Manager host server

i) Verify NTP Configuration Using Script

Applications Manager provides the NTPConfig.vbs script to validate NTP settings for Windows hosts.

  1. Open Command Prompt on the Applications Manager host server.
  2. Navigate to <Applications Manager Home>\working\conf\application\script directory.
  3. Execute the following command by providing the host details of the problematic monitor such as hostname, username and password:
    Quote
    cscript NTPConfig.vbs <hostname> <username> <password>
This script retrieves and validates the NTP configuration details of the specified Windows host.

ii) Verify NTP Configuration Using WBEMTEST

You can use WBEMTEST to validate WMI connectivity and verify whether the namespace used to retrieve NTP-related data is accessible and returns the required information successfully.

  1. Open WBEMTEST.
  2. Connect to the following namespace:
    Quote
    root\default
  3. Provide the same credentials configured for the problematic Windows monitor in Applications Manager.
  4. Verify whether the connection is established successfully.

Linux monitor

If NTP statistics data is not populated for Linux monitors in Applications Manager, verify whether the required NTP package is installed and configured correctly on the monitored host.

Step 1: Verify NTP Package Installation

  1. Execute the ntpstat command on the Linux host to check whether the NTP package is installed.
  2. If the command is unavailable or returns an error, install the required NTP package.
NotesNote: Installing the NTP package requires root or sudo privileges.

Step 2: Install the NTP Package

Install the NTP package based on your Linux distribution using the appropriate command below:

Linux Distribution
Installation Command
Debian / Ubuntusudo apt-get install ntp
CentOS / RHELsudo yum install ntp
Fedorasudo dnf install ntp
Notes
Note: After installation, ensure that the NTP service is configured correctly and synchronized with valid NTP servers. Improper configuration may prevent Applications Manager from collecting NTP metrics.

Step 3: Validate NTP Configuration

Once installation and configuration are completed:

  • Confirm that the NTP service is running.
  • Validate whether the ntpstat command returns valid synchronization information.
  • Refresh or recheck the monitor in Applications Manager to verify whether NTP statistics are populated.


If the NTP package is already installed and configured correctly, but NTP statistics continue to display No Data Available, contact ManageEngine Applications Manager Support for further analysis and troubleshooting.
 

                    New to ADSelfService Plus?