Step by Step process on how to discover wmi devices in logicmonitor

 Discovering WMI (Windows Management Instrumentation) devices in LogicMonitor involves several steps, including configuring the LogicMonitor Collector, setting up WMI on the target devices, and creating or using existing DataSources. Here’s a detailed guide on how to discover WMI devices in LogicMonitor:

1. Configure the LogicMonitor Collector

Install the Collector

  1. Download the Collector:

    • Log in to your LogicMonitor account.
    • Navigate to Settings > Collectors.
    • Click Add to download the Collector installer for your operating system.
  2. Install the Collector:

    • Run the installer on a server or virtual machine with network access to the WMI devices.
    • Follow the installation instructions.
  3. Register the Collector:

    • During installation, you’ll be prompted to register the Collector with your LogicMonitor account. Follow the prompts and enter the required credentials.

Ensure Collector Has Network Access

  • Verify that the Collector server can reach the WMI devices over the network.
  • Ensure that firewall rules allow WMI traffic (typically TCP port 135 and a range of dynamic ports).

2. Set Up WMI on Target Devices

Configure WMI on Windows Devices

  1. Enable WMI Service:

    • Ensure that the Windows Management Instrumentation (WMI) service is running on each target device. This service is typically enabled by default on Windows systems.
  2. Configure Firewall Rules:

    • Open the Windows Firewall and create an inbound rule to allow WMI traffic.
    • Allow TCP port 135 and dynamic RPC ports (port range 49152-65535 by default on modern Windows systems).
  3. Configure User Permissions:

    • Create or use an existing user account with sufficient permissions to access WMI data on the target devices.
    • Ensure this account is part of the Administrators group or has specific WMI permissions.

3. Create or Use Existing WMI DataSources

Use Predefined DataSources

  1. Navigate to DataSources:

    • In the LogicMonitor portal, go to Settings > DataSources.
  2. Search for Predefined DataSources:

    • LogicMonitor provides a library of predefined DataSources for common WMI metrics (e.g., CPU, memory, disk, network).
  3. Import DataSources:

    • Select and import the necessary DataSources into your LogicMonitor account.

Create Custom WMI DataSources (if needed)

  1. Create New DataSource:

    • If a predefined DataSource does not exist for your device, you can create a custom WMI DataSource.
    • Go to Settings > DataSources > Add.
  2. Define DataSource Parameters:

    • Specify the WMI queries to be used to collect the desired metrics.
    • Set the polling interval, instance discovery method, and any necessary transformations or calculations.

4. Add WMI Devices to LogicMonitor

  1. Navigate to Devices:

    • In the LogicMonitor portal, go to Resources > Devices.
  2. Add New Device:

    • Click Add to add a new device.
    • Enter the device’s IP address or hostname.
    • Select the appropriate Collector to monitor the device.
    • In the Credentials section, enter the WMI credentials:
      • Use the username and password for the account with WMI permissions.
  3. Save and Discover:

    • Click Next and then Add Device.
    • LogicMonitor will attempt to communicate with the device using the provided WMI credentials and will automatically apply the relevant DataSources.

5. Verify Device Discovery

  1. Verify Data Collection:

    • After adding the device, navigate to the device in the Resources section.
    • Verify that data is being collected and displayed for the device.
    • Check that the appropriate DataSources are applied and that the metrics are being updated.
  2. Troubleshoot Issues:

    • If data is not being collected, check the WMI configuration on the device and ensure the Collector has network access.
    • Verify that the correct WMI credentials are used.
    • Check the LogicMonitor logs for any errors related to WMI communication.

6. Configure Alerts and Reports

  1. Set Up Alert Rules:

    • Define alert thresholds for the collected WMI metrics to receive notifications when specific conditions are met.
  2. Create Reports:

    • Use LogicMonitor’s reporting features to generate reports on the performance and status of your WMI devices.

By following these steps, you can effectively discover and monitor WMI devices in LogicMonitor, ensuring comprehensive visibility into your Windows infrastructure.

No comments

Powered by Blogger.