Install and configure SNMP in Windows

In order to configure a Windows Server for Monitoring (Discovery / Inventory and Alert Processing), first we have to install the SNMP service.

By default, it is turned off or not installed on most operating systems.

Installation Instructions for the Windows SNMP Service

  1. Open Server Manager
  2. Click on Add Roles and Features
    2019-04-19 13_47_02-Window
  3. Click Next (this will be a summary page)
  4. Click Next (by default, Role-based or feature-based installation
  5. Click Next (by default, it will select the server you are running the wizard on)
    2019-04-19 13_50_16-Window
  6. Click next on the Roles wizard (we are not installing a role)
  7.  Under Features, expand “Remote Server Administration tools  > Feature Administration Tools ” and select “SNMP Tools” then click Next
    2019-04-19 13_53_33-Window
  8. Click Install on the “Confirm installation selections “
  9. Click Close on the “Installation Progress”

The installation will take a couple of minutes to complete. After this, the SNMP service will be visible on the Services console.

2019-04-19 14_00_27-Window

Alternatively, you can also install the SNMP Service using Windows PowerShell:

Get-WindowsFeature SNMP-Service

 

Configuration instructions for the Windows SNMP Service

To configure the Windows SNMP service for SNMPv1/v2, there are two main tabs we will focus on. These are “Security” and “Traps”.

Security is to configure the SNMP agent, while, as the name states, Traps is to configure the SNMP destination for SNMP generated traps.

  1. Start by configuring the agent. First, click on Security and enter the community string under “Accepted Community Names”. In most instances, a “Read-Only” rights configuration will suffice.
  2. If this will be your host using for monitoring, select  “Accept SNMP packets from any  host”. Otherwise, specify which hosts to accept SNMP packets from.
    2019-04-19 14_15_34-Window
  3. Next, is configuring the trap destination. This configuration is done under Traps.  You will need to enter the community string and a destination IP (or DNS name) to where any generated alerts will be sent to.
    2019-04-19 14_18_10-Window

Once the above steps are completed, click OK. Then, right click on the SNMP service and click restart for settings to take effect.

At this point, you should be able to go to your Management Station (Monitoring Utility or Software) and inventory and monitor this Windows Server by providing the SNMP agent community String.

How to Setup a Windows NFS Share to use with a Linux Appliance

interoperability betwen Linux and Windows environments has long been a matter of endless discussions and quite a bit of confusion.

NFS shares in Linux just seem to work, as in the case (mostly) of CIF shares in Windows.  However, getting Windows to have a proper NFS share that communicates with a Linux appliance can bie a bit of a headache.

I explain below what sections to allow for this to work correctly.  By default, NFS shares are not an option in Windows, so there’s a bit of work involved.

Install NFS role in Windows

  1. Install NFS role for Server in Server Manager
  2. Go to Server Manager > File and Storage Services > Shares

Configure a NFS Share in Windows

  1. Right click and create a new share  – In this example, I created one labeled “3111” on my c: drive
  2. Create the share with the following settings
    1. Authentication – Disable all Kerberos authentication, and ensure “allow unmapped user access by UID” is selected
    2. Share Permissions – whitelist your Linux appliance ip address
    3. NTFS permissions – give “Everyone” full control

Introduction

Isupedia is a site created to provide tips regarding Systems Management products. This includes out of band, in band monitoring through one to many server management applications, appliances and integration solutions.

Managing a multi-server environment can be a daunting and difficult task due to multi-layer configurations. My goal is to simplify this tasks by proving how to guides, tips, tricks and experiences.

I work for a international support company and deal with many of this technologies day in and day out. While there may be multiple ways to configure environments, I hope the information provided here will make your work life easier.

Sincerely,

Miguel Chavez