Share this post

Table of Contents

How to Set Up and Monitor Windows 11 Using SNMP in Nagios XI

|

Picture of Ayub Huruse
Ayub Huruse
IT network monitoring

Introduction

This guide provides step-by-step instructions on configuring SNMP on a Windows 11 machine and setting it up for monitoring in Nagios XI. SNMP (Simple Network Management Protocol) allows administrators to monitor system performance without installing additional agents, making it a lightweight and effective monitoring solution.

Target Audience

This guide is intended for Nagios XI administrators responsible for network and system monitoring.

Prerequisites

  • Access to a Windows 11 machine
  • An instance of Nagios XI with administrative privileges
  • Basic understanding of Windows and Nagios configurations.

Step 1: Install SNMP on Windows 11

  1. Open Settings on your Windows machine.
  2. Navigate to System > Optional Features.
Picture1
Optional features example

3. Click View Features near the top right corner.

Picture2
View features button example

4. Search for SNMP and check the boxes for:

  • Simple Network Management Protocol (SNMP)
  • WMI SNMP Provider
Picture3
example SNMP

5. Click Next and then select Add.

Picture4
Example output.

6. Wait for the installation to complete.

7. Verify the installation by searching for SNMP under the Added Features section.

Picture5
Example output of the verification installation.

Step 2: Configure SNMP

1. Open Services by typing it into the Windows search bar.

Picture6
Example output of services

2. Scroll down to SNMP Service, right-click, and select Properties.

Picture7
Example output of SNMP Service Properties.

3. Under the General tab, set the Startup Type to Automatic.

Picture8
Example output of the properties general

4. Navigate to the Agent tab and select the services you want SNMP to monitor.

Picture9
Example output of the properties Agent

5. Go to the Security tab:

  • Add an accepted community name (default is public).
  • Set the rights to READ ONLY.
Picture10
Example output of the READ ONLY configuration.

6. Choose whether to accept SNMP packets from any host or specific IP addresses (e.g., your Nagios XI instance).

7. Click Apply to save your configuration.

Troubleshooting

  • Issue: Unable to connect due to incorrect community name.
    • Solution: Ensure the correct community name is entered in both SNMP settings and Nagios XI.
  • Issue: SNMP service not starting.
    • Solution: Ensure the startup type is set to Automatic.

Step 3: Configure Windows Firewall

1. Open Windows Defender Firewall with Advanced Security.

Picture12
Example output of the windows defender firewall

2. Select Inbound Rules and click New Rule….

Picture13
Example output of the inbound rules

3. Choose Port and click Next.

Picture14
Example output of the port.

4. Select UDP and enter 161-162 in the Specific local ports textbox.

Picture15
Example output of the UDP 161-162

5. Click Next through the remaining steps, give the rule a name, and click Finish.

Picture16
Example output of the last step

Step 4: Set Up SNMP Monitoring in Nagios XI

  1. Open Nagios XI in your browser.
  2. Hover over the gear icon and select Configuration Wizards.
image 81
Example output of hovering over the configuration wizard

3. Search for SNMP.

image 1 1
Example output of the SNMP search

4. Enter the following information:

  • IP address of the Windows 11 machine.
  • Select Windows 10 as the operating system.
  • Enter the SNMP community string configured earlier.
  • Keep SNMP version and port as default.

5. Click Next.

image 2 1
Example output of the configuration wizard step 1

6.Select the services and hardware information to monitor.

7. Click Finish with Defaults or adjust monitoring settings as required.

8. Go back to the host and confirm that it has been added with your selected services being monitored.

Step 5: Verify Monitoring

  1. Navigate to the Host/Service Details in Nagios XI.
  2. Confirm that the Windows 11 machine and its selected services are being monitored.
image 3 1
Example output of Host Status detail

Conclusion

This guide provided a detailed walkthrough for setting up SNMP on a Windows 11 machine and configuring it for monitoring in Nagios XI. If you encounter any issues, please visit the Nagios Support Forum or the Nagios Knowledge Base.

By following these steps, you can ensure effective and comprehensive monitoring of your Windows 11 systems using Nagios XI.