MODULE 11 - Monitoring and Logs
Overview
This module teaches you how to monitor performance and analyze logs. You will discover monitoring tools, log management, and how to monitor scheduled tasks.
Learning Objectives
By the end of this module, you will be able to:
- Monitor system resources (CPU, memory, disk)
- Analyze logs with journalctl and /var/log
- Configure log rotation (logrotate)
- Monitor crons: logs and notifications
- Use monitoring tools (sar, sysstat)
- Configure alerts
Estimated Duration
Theory: 4-5 hours
Practice: 4-5 hours
Total: 8-10 hours
Key Concepts
System Monitoring
- top, htop, iotop, vmstat
- CPU, memory, disk usage
- Processes and resources
Logs
- journalctl (systemd)
- /var/log
- logrotate
Cron Monitoring
- Cron logs: /var/log/cron or journalctl
- Notifications and alerts
- Execution monitoring
Module created on: December 2024