The Simple Network Management Protocol (SNMP) is a TCP/IP protocol monitor. The SNMP service creates trap messages that are then sent to a trap destination. One way you might use SNMP is to trap messages that don’t contain an appropriate hostname for a particular service.
When you set up SNMP, you set up communities. Communities are groupings of computers that help monitor each other.
Windows Server 2022 includes SNMP with the operating system. To install the service, you must use Server Manager. In Exercise 16.2, you will walk through the process of installing the SNMP service.
EXERCISE 16.2
Installing SNMP
- Open Server Manager.
- Click option number 2, Add Roles And Features. If you see the Before You Begin screen, just click Next.
- Choose role- based or feature- based installation and click Next.
- Choose your server and click Next.
- Click Next at the Select Server Roles screen.
- When the Select Features window appears, click the SNMP Services check box. If an Add Features dialog box appears, click the Add Features button. Click Next.
- The Confirm Installation page appears. Click Install.
- Click Close. Exit the Server Manager application.
Now that you have installed the SNMP service, you have to set up your community so that you can start trapping messages. As stated earlier, communities are a grouping of computers to help monitor each other. After you have created the initial community, you can add other computer systems to the community.
In Exercise 16.3, you will walk through the steps to set up the SNMP service and also set up your first community name. To complete this exercise, you must have completed Exercise 16.2.
EXERCISE 16.3
Configuring SNMP
- Open Computer Management by pressing the keyboard’s Windows Key and selecting Administrative Tools ➢ Computer Management.
- Expand Services And Applications. Click Services. In the right pane, double- click SNMP Service.
- The SNMP Service Properties window will open. Click the Traps tab. In the Community Name box, enter Community1. Click the Add To List button.
- Click the General tab. Click the Start button to start the service. Click OK.
- Close Computer Management.
Using Resource Monitor
The Resource Monitor is another utility that allows you to view some of the resources on your server. You can access the Resource Monitor by going into the Administrative tools and choosing Resource Monitor or by typing Resmon.exe in the Run box.
Resource Monitor is a method of viewing Performance Monitoring data in a quick to view format. One advantage to using the Resource Monitor is that you can choose items that are affecting the systems performance and the view will change to show that item along with the totals.
As seen in Figure 16.21, you can use Resource Monitor to watch the system’s CPU, Memory, Disk, and Network. There are five tabs that show you the different components. Figure 16.21 shows the Overview tab. The Overview tab allows you to watch all four hardware components in one window. Now let’s take a look at each tab (which represents a component).
CPU The CPU tab (shown in Figure 16.22) will show you the total percentage of the CPU being used in a green color, and it will show you the Maximum Frequency of the CPU in blue.
FIGURE 16.22 Resource Monitor CPU tab
Memory This tab (shown in Figure 16.23) will show you how much memory is being used. When looking at the Resource Overview Memory window, there are two colors that you need to monitor. The current physical memory that is being used will be shown in the color green. The Standby Memory is shown in the color blue.
FIGURE 16.23 Resource Monitor Memory tab
Disk The Disk tab (shown in Figure 16.24) will show you the total current Input/ Output in the color green and it will show you the highest activity time. The current disk activity will be shown in green and the highest activity in blue.
FIGURE 16.24 Resource Monitor Disk tab
Network The Network tab (shown in Figure 16.25) shows you how the network traffic is operating. The window will show you the percentage of network capacity and the total current network traffic.
FIGURE 16.25 Resource Monitor Network tab