2.3 Given a scenario, configure and maintain server functions and features.
📘CompTIA Server+ (SK0-005)
Monitoring is about keeping an eye on a server’s health and performance. It ensures servers run efficiently, helps detect problems early, and prevents downtime. Monitoring involves tracking uptime, performance, and event logs.
1. Uptime
- Definition: Uptime is the amount of time a server has been running without interruption.
- Why it matters: High uptime shows the server is reliable. Downtime affects services like email, databases, and applications.
- How it’s monitored:
- Tools like Nagios, Zabbix, or SolarWinds track uptime.
- Many servers generate logs showing when they booted and shut down.
- Exam tip: Know that uptime monitoring is part of overall system health checks.
2. Thresholds
- Definition: Thresholds are pre-set limits for server performance metrics.
- Example: If CPU usage goes above 80% or disk space goes above 90%, it triggers an alert.
- Purpose: Alerts help admins take action before problems become critical.
- Types of thresholds:
- Static: Fixed limits, e.g., CPU > 90%.
- Dynamic: Adjust based on trends, e.g., average CPU over last hour.
3. Performance Monitoring
Performance monitoring tracks how well a server handles workloads. It focuses on Memory, Disk, Network, and CPU.
A. Memory
- Monitors RAM usage, swap activity, and memory leaks.
- Indicators:
- % of memory used
- Swap usage (if RAM is full, data moves to disk, slowing performance)
- Tools:
top,htopin Linux; Task Manager or Performance Monitor in Windows.
B. Disk
- Tracks storage usage and efficiency.
- Key metrics:
- Capacity vs. utilization: How much storage is available vs. used.
- Input/output operations per second (IOPS): How fast data is read/written to storage.
- Why IOPS matters: High IOPS with slow response times may indicate disk bottlenecks.
- Tools:
iostat,df, or storage-specific tools like RAID controllers.
C. Network
- Monitors traffic, bandwidth, and errors.
- Indicators:
- Network latency (delay)
- Packet loss
- Bandwidth usage
- Tools:
netstat, Wireshark, or SNMP monitoring.
D. CPU
- Measures processor usage and efficiency.
- Indicators:
- % CPU usage
- Load averages (Linux)
- Interrupts per second (high interrupts may indicate hardware issues)
4. Event Logs
Event logs are records of server activities, errors, and alerts. They are crucial for troubleshooting and auditing.
A. Configuration
- Determine which events are logged: errors, warnings, information, security events.
- Proper configuration ensures only relevant events are captured.
B. Shipping
- Logs can be sent to a centralized server (like a SIEM – Security Information and Event Management) for analysis.
- Example: Windows Event Forwarding or Linux syslog servers.
C. Alerting
- Admins get notified when certain events occur.
- Can be email, SMS, or dashboard alerts.
- Example: Disk space <10% triggers email alert.
D. Reporting
- Logs can be used to generate reports for audits or performance reviews.
- Example: Weekly report of CPU spikes and memory usage trends.
E. Retention
- Logs should be stored for a set period for compliance and analysis.
- Example: Retain security logs for 90 days, error logs for 30 days.
F. Rotation
- Old logs are archived or deleted to save space.
- Rotation can be daily, weekly, or based on file size.
- Tools:
logrotatein Linux or Windows Event Log settings.
Exam Tips for Monitoring
- Remember the four key performance areas: CPU, Memory, Disk, Network.
- Know the difference between capacity vs. utilization (storage, memory, network).
- Understand IOPS – high numbers aren’t always good; they must match response times.
- Event logs are not just for errors – they’re also for tracking configuration changes and auditing.
- Thresholds help prevent problems before they happen – know static vs dynamic thresholds.
- Retention and rotation are part of compliance – not just storage management.
✅ Summary Table
| Monitoring Area | What to Check | Tools/Examples |
|---|---|---|
| Uptime | Server availability | Nagios, Zabbix |
| CPU | Usage %, load | top, PerfMon |
| Memory | RAM usage, swap | top, htop, PerfMon |
| Disk | Capacity vs. utilization, IOPS | iostat, RAID tools |
| Network | Bandwidth, latency, errors | netstat, SNMP, Wireshark |
| Event Logs | Configuration, alerting, reporting, retention, rotation | Windows Event Viewer, syslog, SIEM |
