PatchSentinel is a Bash-based Linux patch management utility that helps administrators monitor system updates, identify pending security patches, and maintain an audit trail of package upgrade activity.
Developed as a practical Linux administration project, PatchSentinel automates update checks, records package information, and alerts administrators when systems require attention.
- ๐ฆ Checks for available package updates
- ๐ Executes
apt updateand identifies upgradable packages - ๐ Generates timestamped update reports
- ๐จ Alerts when pending updates exceed a configurable threshold
- ๐ Tracks package upgrade status over time
- ๐ง Designed for Debian-based Linux distributions including Ubuntu, Debian, and Kali Linux
- โฐ Suitable for scheduled execution using
cron
PatchSentinel/
โโโ check-updates.sh
โโโ logs/
โโโ README.md
Recommendation: Consider renaming
check-updates.shtopatch-sentinel.shorpatchsentinel.shto match the repository branding.
Clone the repository:
git clone https://github.com/Kachinonye/PatchSentinel.gitNavigate to the project directory:
cd PatchSentinelMake the script executable:
chmod +x check-updates.shRun the update monitor:
./check-updates.shPatchSentinel automatically:
- Refreshes package information.
- Lists available upgrades.
- Creates a timestamped log file.
- Warns when pending updates exceed the configured threshold.
Generated log file:
update_log_2026-07-05.log
Example alert:
โ WARNING
52 packages are waiting to be upgraded.
System update recommended.
This project showcases practical experience with:
- Linux System Administration
- Bash Shell Scripting
- Package Management
- Security Patch Monitoring
- Automation
- Log Management
- Cron Scheduling
- Debian Package Administration
- Technical Documentation
PatchSentinel is useful for:
- Linux System Administrators
- DevOps Engineers
- Security Teams
- Home Lab Environments
- Server Maintenance
- Routine Patch Management
- Linux Administration Training
Future releases may include:
- Automatic package upgrades
- Email notifications
- HTML update reports
- JSON export
- CVE vulnerability lookups
- Automatic reboot recommendations
- Support for additional package managers (DNF, YUM, Zypper)
Kachinonye Nmezi
Junior Linux Administrator | Bash Scripting & Automation Specialist
GitHub: https://github.com/Kachinonye
LinkedIn: https://www.linkedin.com/in/kachinonye-nmezi-74170723b/
Licensed under the MIT License.