Skip to main content
Version: 24.04

Monitor your first Windows host

Monitoring a Windows server with SNMP

In this tutorial, we're assuming that your Centreon platform is installed and running well, and that you have at least a Centreon IT 100 Edition that provides Centreon Monitoring Connectors (your license is already set up).

Your Windows server will be monitored using the Windows SNMP Monitoring Connector. (More about Monitoring Connectors here).

Prerequisites

On the Windows server you want to monitor

The first step is to install and configure the SNMP service on the Windows host you want to monitor. Please refer to the documentation of your Windows distribution to find out how to configure the SNMP service.

Find below some steps to install and configure SNMP on Windows 10.

Installing SNMP on Windows 10

There are several ways to enable SNMP: from the Settings menu or by using PowerShell.

  1. Go to Settings > Apps & features > Optional features.

  2. Click Add a feature and search for SNMP:

image

  1. Select Simple Network Management Protocol (SNMP) and click Install.

Configuring SNMP on Windows 10

After installing SNMP, you need to configure it.

  1. In the search bar, type services.msc and press Enter to launch the Services panel.

  2. Look for the SNMP service in the list.

image

  1. On the Agent tab, fill in the Contact and Location parameters. Then, in the Service section, check the boxes for services from which you want to collect data for forwarding to the Centreon Poller that will monitor the host.

image

  1. On the Security tab, enter the SNMP community in the Accepted community names section and choose the READ ONLY option. Then select Accept SNMP packets from these hosts and add the IP address of the Centreon poller.

image

  1. Restart the SNMP Service:

image

On the Centreon poller

Connect to your poller using SSH and install the Windows SNMP plugin (see the monitoring procedure for the Windows SNMP Monitoring Connector for more information):

dnf install centreon-plugin-Operatingsystems-Windows-Snmp

On the central server

In the web interface, go to Configuration > Monitoring Connector Manager and install the Windows SNMP Monitoring Connector:

image

Configure the host and deploy the configuration

  1. Go to Configuration > Hosts > Hosts and click Add:

image

  1. Input the following information:

    • The name of the server (1)
    • A description of the server (2)
    • The IP address of the server (3)
    • The SNMP version and community (4)
    • Select the poller that will monitor your Windows server (keep "Central" if you have no other poller) (5)
  2. Click + Add a new entry in the Templates field (6), then select the OS-Windows-SNMP-custom template (7) from the list.

image

  1. Click Save. Your device has been added to the list of hosts:

image

  1. Go to Configuration > Services > Services by host. A set of indicators has been automatically deployed:

image

  1. Deploy the configuration.

  2. Go to Monitoring > Resources Status and select All from the Resource status filter. At first, the resources appear with the status Pending, which means that no checks have been executed yet:

    image

    After a few minutes, the first results of the monitoring appear:

    image

    If not all services are in an OK state, check what is causing the error and fix the problem.

To go further

The Windows SNMP Monitoring Connector provides several monitoring templates. Go to Configuration > Services > Templates to see the complete list:

image

With Centreon IT Edition you can add the monitoring of your network cards, partitions, processes and services very quickly and very simply using the Service Discovery feature.

  1. Go to Configuration > Services > Scan. Start entering the name of the host and the web interface automatically completes the name:

    image

  2. Select the discovery command to run from the list that has just appeared below the Rule field. Then click the Scan button and wait during the discovery. The result is displayed. Select items to add to the monitoring and click the Save button:

    image

The item was added. You can select another discovery command below Rule and repeat the process.

  1. The services are added and can be displayed in the Configuration > Services > Services by host menu:

    image

  2. Deploy the configuration.