Windows Server: SNMP Service – Installation and configuration

SNMP service overview

The SNMP service allows the interrogation of computer equipment in order to carry out supervision and diagnosis.

This protocol is used by supervision software such as Centreon and PRTG.

Installation of the SNMP service on Windows Server

On Windows the service is not installed by default, it is a feature to install.

Installation in graphical mode

From the server manager, click on Manage 1> Add roles and features 2.

SNMP : Ajouter rôle

When the wizard opens, click Next> 1.

SNMP : Assistant étape 1

Select Role-based or feature-based installation 1 and click on the Next> 2 button.

SNMP : Sélectionner rôle

Select the server 1 and click Next> 2.

SNMP : Choix du serveur

In the role selection, click on the Next 1 button.

SNMP : Rôle serveur disponible

On the list of features, find SNMP Service 1 and check the box.

SNMP : Sélectionner le service

On the new window that opens, click on Add functionalities 1.

SNMP : valider l'ajout

Click on Next> 1.

SNMP : étape suivante

Confirm the installation by pressing the Install button 1.

SNMP : Confirmer l'installation

When installation is complete, click Close 1.

SNMP : installation terminée, fermer l'assistant

PowerShell installation

In a PowerShell command prompt as an administrator enter the following command:

Result:

Configuring the SNMP service

We will now move on to configuring the service, for this we will add a community to the SNMP service to allow it to be queried.

Open a run window, in the input box enter services .msc 1 and click OK 2.

SNMP : exécuter services.msc

In the list of services look for SNMP Service 1, right click on it and go to Properties 2.

SNMP : Aller sur les prorpietes du service

In the new window, go to the Security 1 tab and click on the Add … 2 button in the list of communities.

SNMP : parametres du service

Select the community member 1, enter his name 2 and click on the Add button 3.

SNMP : Configuration communauté


Select Accept SNMP packets from any host 1, Apply changes 2 and click OK 3 to close the window.

SNMP : Modification sécurité des hôtes distants

In production, prefer to indicate the IP addresses authorized to query the server.

Restart the 1 service to take the changes into account.

SNMP : Redémarrer le service.



To test the operation of the service, you can use the SNMP Tester software from Paessler.





Related Posts


Installing the .NET Framework 2.0 / 3.5 on Windows Server

Many applications still need the .NET Framework 2.0 or 3.5 to work. For client computers, simply download and install. On Windows Server, the installation goes through the addition of roles and featur

Nano Server: Generating and Using a Windows Nano Server Virtual Disk

Nano Server Overview Nano Server is a version of Windows Server that has made its appearance with Windows Server 2016, which is a "light" version of a Windows Core (without GUI) that installs the foll

Windows Server: Enable Shadow Copies

Presentation of shadow copies Shadow copies also called previous version or snapshot  is a feature available on Windows Servers. It allows to make a "backup" of a partition by storing only the modifie