🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Technology & Design › Data Center Technician › Monitoring & Ticketing for Data Center Operations › Lesson 2
TEC-DATA82-08 · Lesson 2 · 14 clock hours · lab

Configuring Monitoring Agents and SNMP on Servers and Network Devices

Objective. Students will install a monitoring agent on a Linux server, configure SNMP v2c or v3 on a managed switch, and confirm that both devices appear as monitored hosts returning live metric data in the class monitoring server within the lab session.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

Why Monitoring Agents and SNMP Matter

A data center that cannot see itself is a liability. Monitoring agents and the Simple Network Management Protocol (SNMP) are the two most common methods for collecting live metric data from servers and network devices. Together they feed a monitoring platform — such as Zabbix or Nagios Core — that alerts engineers before a failure becomes an outage. CompTIA Server+ and the CNet CDCTP both expect technicians to understand and implement these tools.

Monitoring Agents: How They Work

A monitoring agent is a small service installed directly on a managed host. It runs in the background, collects metrics (CPU load, memory usage, disk I/O, running processes, log entries), and either pushes that data to the monitoring server or waits for the server to poll it — depending on the agent's configuration mode.

The Zabbix agent is a widely used open-source example. After installation on a Linux server, you edit its configuration file (typically `/etc/zabbix/zabbix_agentd.conf`) to set at minimum:

After saving the file, restart the service (`sudo systemctl restart zabbix-agent`) and open port 10050/TCP on any host firewall so the server can reach the agent. Within a few minutes the host should appear with a green Available indicator on the dashboard.

SNMP: The Network Device Standard

SNMP (Simple Network Management Protocol) is the industry-standard protocol for monitoring network devices — switches, routers, UPS units, and PDUs — that cannot run a full agent. The monitoring server sends GET requests to the device's SNMP agent; the device replies with values stored in its Management Information Base (MIB).

SNMPv2c uses a plaintext community string (think of it as a shared password) to authenticate. It is simple to configure but transmits credentials in cleartext, making it unsuitable on untrusted networks.

SNMPv3 adds authentication (using HMAC-MD5 or HMAC-SHA) and optional privacy encryption (DES or AES). For any production or security-conscious environment, SNMPv3 is the correct choice. You create a named user, assign an authentication passphrase, and assign a privacy passphrase; the monitoring server must use matching credentials.

On a managed switch, a typical SNMPv2c configuration (syntax varies by vendor) involves:

1. Enabling the SNMP service globally.

2. Setting the read-only community string (for example, `public` in a lab — never in production).

3. Optionally restricting which management IP addresses can query the device (an access control list).

For SNMPv3, you additionally define an SNMP group, security level (`authPriv` for both authentication and encryption), and the user credentials.

You can test SNMP from a Linux workstation with the `snmpwalk` or `snmpget` commands from the `snmp-utils` package. A successful walk returns MIB object values; a timeout or error means the community string, IP, or UDP port 161 is misconfigured.

Creating Useful Triggers and Thresholds

Collecting data is only half the job. A trigger defines a condition that, when true, generates an alert. Good triggers are specific and time-bounded to avoid alert fatigue. In Zabbix, a trigger expression references an item (the metric being collected) and applies a function and threshold. For example:

The five-minute window on the CPU trigger prevents false alarms during legitimate short bursts. Always choose severity levels (Warning, Average, High, Disaster) that reflect real operational impact.

To verify a trigger fires correctly, use the Linux stress package (`sudo apt install stress`) to load the VM: `stress --cpu 4 --timeout 360` will peg CPU for six minutes, which is long enough to cross the five-minute evaluation window. Watch the monitoring dashboard for the problem to appear and confirm that the configured notification action delivers an alert.

Safety and Access Control Considerations

Even in a lab, treat credentials carefully:

Key terms8

Monitoring agentSoftware installed on a managed host that collects local performance metrics and makes them available to a central monitoring server via a defined protocol and port.
SNMP (Simple Network Management Protocol)An industry-standard protocol used to collect status and performance data from network devices and other SNMP-capable equipment by querying their Management Information Base (MIB).
Community stringA plaintext password used in SNMPv2c to authenticate GET requests between a management station and a network device; transmitted without encryption.
SNMPv3The current secure version of SNMP that adds user-based authentication (HMAC-SHA or HMAC-MD5) and optional AES/DES privacy encryption, replacing the plaintext community string model.
MIB (Management Information Base)A hierarchical database of objects on an SNMP-managed device that defines the variables (such as interface counters and CPU load) that can be queried or set via SNMP.
TriggerA rule in a monitoring platform that evaluates collected metric data against a defined threshold and generates a problem event or alert when the condition is met.
Zabbix agentAn open-source monitoring agent installed on Linux or Windows hosts that collects system metrics and communicates with a Zabbix server in active or passive mode.
authPrivThe highest SNMPv3 security level, requiring both message authentication and encryption of the SNMP payload, ensuring confidentiality and integrity of management traffic.
In class: Guided lab: each student pair installs the Zabbix agent (or equivalent) on an assigned Linux VM, edits the agent configuration file to point to the class Zabbix server, and restarts the service; students capture a screenshot of the host appearing as 'Available' in the dashboard. · SNMP configuration drill: students connect to a managed switch via console or SSH, enable SNMP, set a community string (v2c) or create a user with authentication and privacy passphrases (v3), then verify the monitoring server receives interface traffic counters. · Threshold-setting exercise: once hosts are reporting, students create at least three triggers in the monitoring platform—CPU usage above 85% for five minutes, disk usage above 90%, and ping loss above 10%—then use a stress-testing tool on the VM to intentionally fire the CPU alert and confirm notification delivery.
Materials: Lab servers or PCs running Linux VMs (Ubuntu LTS recommended), managed switch with SNMP support, Zabbix or Nagios Core installed on class monitoring server, console cables, SSH client, stress-testing utility (e.g., 'stress' package), CompTIA Server+ study guide
Check: Instructor verifies that each student's assigned host appears online in the monitoring dashboard, SNMP data is populating, and all three triggers fire correctly when thresholds are crossed; all three conditions must be met to pass this lab.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

CompTIA Server+ — Server Administration and Monitoring
1. A technician installs the Zabbix agent on a Linux VM but the host shows 'Unreachable' in the dashboard. The agent service is running. What is the most likely cause?
CompTIA Server+ — Security
2. Which SNMPv3 security level provides both authentication and encryption of SNMP messages?
CompTIA Server+ — Server Administration and Monitoring
3. A student sets a CPU trigger to fire when CPU usage exceeds 85% at any single polling interval. After deploying it, the team receives dozens of false alerts every night during scheduled backup jobs. What trigger change best reduces false positives while still catching genuine CPU problems?
CompTIA Server+ — Server Administration and Monitoring
4. Which parameter in the Zabbix agent configuration file identifies the monitoring server that is permitted to poll the agent in passive mode?
CNet CDCTP — Data Center Security and Operations
5. A technician is configuring SNMP on a managed switch for a production environment that has strict security requirements. Which choice is most appropriate?
CompTIA Server+ — Networking
6. After configuring SNMP on a switch, a technician runs 'snmpwalk' from a Linux workstation and receives no output, only a timeout error. The switch IP is correct. What should the technician check first?
OSHA 10 — General Industry Safety
7. Before connecting a console cable to an active switch in a rack to configure SNMP, which safety practice is most important?
CompTIA Server+ — Server Administration and Monitoring
8. A student uses the Linux 'stress' utility to intentionally trigger the CPU alert. The CPU item in Zabbix shows 92% for seven minutes, but no problem event appears. The trigger threshold is 85% for five minutes. What is the most likely cause?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.