Documentation

Monitoring configuration requirements for Windows devices

On the page

Need some help?

Introduction

The aim of this document is to describe the pre-requisites to be implemented on a Microsoft Windows device in order to allow monitoring by ServiceNav using SNMP and WMI protocols.

This procedure applies to Windows Server versions from 2003 onwards.

SNMP

This article describes, step-by-step, how to configure the Simple Network Management Protocol (SNMP) service. It describes how to configure SNMP agent properties and SNMP security.

Installing SNMP functionality

On version 2003, get the Windows installation CD to install SNMP.

If you are using a computer that is not connected to the Internet, select the checkboxes next to the services your computer provides. The service options are as follows:

Adding a Windows feature

Added Windows 2 functionalitySelect the SNMP Service function. The WMI SNMP Provider is not required. Then click on Next.

Functionality - SNMP ServiceClick on Install. Wait until the installation is complete and proceed to the next step.

SNMP configuration

The configuration of the SNMP Service is done from the services console.

Open from home (on Windows 2012 server) Administration tools.

Windows Home - Administrative ToolsThen select Services.

Windows Service - SNMPTo open this application, you can also run services.msc from the Start > Run on Windows 2008 prompt.

Right-click SNMP Service in the list of services, then select Properties :

SNMP Service - Properties 1Click on the tab Agent.

Under ServiceIf you are using a computer that is not connected to the Internet, select the checkboxes next to the services your computer provides. The service options are as follows:

  1. Physicalindicates whether the computer manages physical devices, such as hard disk partitions.
  2. Applicationsindicates whether the computer is using programs that send data via the TCP/IP protocol.
  3. Data link and subnetworkindicates whether this computer manages a subnetwork or a TCP/IP data link, for example a bridge.
  4. InternetIP Gateway: Indicates whether this computer is acting as an IP gateway (router).
  5. End to endindicates whether this computer is acting as an IP host.

Click Apply.

SNMP Service - Properties 2

Click on the tab, Security.

In the Accepted community namesclick on Add... then enter the community name and permission . The READ ONLY right is enough. The SNMP community name is case sensitive. It is recommended to use the same community name for all servers.

Click on Add.

SNMP Service - Properties 3

Specify the IP address of the monitoring box authorized to perform SNMP requests on the server.

Click Accept SNMP packets from these hostsclick on Addand then type the host name, IP address, or IPX address in the field: Host name, IP or IPX address.

  1. Click on Add.
  2. Click on OK.

SNMP Service - Properties 4

Click on OK to apply the configuration.

SNMP Service - Properties 5

Restart the SNMP service re-read the configuration, by right-clicking on SNMP Service in the list and then select Restart.

SNMP Service - Restart

WMI

Creating the user in Active Directory

Create a domain user dedicated to monitoring in your Active Directory domain.
Create the user and put it in a security group dedicated to monitoring, for example, Windows Monitoring.

Add user to local group Performance Analyzer UsersPerformance Monitor Users.
This operation can be performed via GPO on the whole domain or on the target machines, by editing the following object :

Right click on Add a group. Select the group Windows Monitoring.

Once added, a window opens. In the bottom section ("This group is a member of"), click on Add... . Select the group Performance Analyzer Users. Doing this has no impact on users or groups that are already members of the group. Performance Analyzer Users on each server where GPO will be applied. You must view this result in your GPMC editor:

Access Verification

Perform a ServiceNav Discovery: this will allow you to check whether the WMI user used to carry out the discovery has remote access rights to WMI. Discovery queries the WMI class Win32_OperatingSystem with the user provided.

Monitoring Windows services via WMI

Only a domain administrator user or a user from the Administrators group on the Windows host can query the status of Windows services via WMI. The following procedure explains how to configure a domain user to be part of the Windows servers local group, Administrators without allowing terminal connection to the host.

This section describes how to, in Active Directory :

  • add the user to each hosts local Administrators group
  • Prevent the user from logging on to the host in console mode and Remote Desktop mode.

This can be done by modifying the GPO previously created on the domain controller.

Right click on the group Windows Monitoringand then on Properties.

In the bottom section ("This group is a member of"), click on Add... . Select the group Administrators.

You should see this:

Click OK.

GPO item to be created to prevent the user from logging on to the host in console mode and Remote Desktop mode :

This may also be of interest to you

How to monitor an Azure environment

Monitor Azure metrics via APIs

portal azure

1 - Prerequisites Azure and Office 365 plugins

en_US
fr_FR en_US

Welcome to ServiceNav!

Need help? More information about our products? Write to us!
You have taken note of our privacy policy.

[COVID - 19 ] - TELEWORKING, TARGET AVAILABILITY 100% !

While the epidemic lasts, ensure the availability and performance of your IT services for teleworking, with ServiceNav!

Following the government's call to mobilize to help businesses overcome the current health and economic context, we help you, free of charge, to ensure the complete monitoring of your teleworking environments: VPN, VDI, Teams, Skype Enterprise, Citrix... Objectives: collection, availability and usage indicators, dashboards to support your communication.
We use cookies to ensure that you have the best possible experience on our site, and if you continue to use this site, we will assume that you are satisfied with it.

Reserve your place

You have taken note of our privacy policy.