Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ฆ PatchSentinel โ€” Linux Patch Management & Update Monitoring Tool

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.


โœจ Features

  • ๐Ÿ“ฆ Checks for available package updates
  • ๐Ÿ” Executes apt update and 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

๐Ÿ“‚ Project Structure

PatchSentinel/
โ”œโ”€โ”€ check-updates.sh
โ”œโ”€โ”€ logs/
โ””โ”€โ”€ README.md

Recommendation: Consider renaming check-updates.sh to patch-sentinel.sh or patchsentinel.sh to match the repository branding.


๐Ÿš€ Installation

Clone the repository:

git clone https://github.com/Kachinonye/PatchSentinel.git

Navigate to the project directory:

cd PatchSentinel

Make the script executable:

chmod +x check-updates.sh

โ–ถ๏ธ Usage

Run the update monitor:

./check-updates.sh

PatchSentinel automatically:

  1. Refreshes package information.
  2. Lists available upgrades.
  3. Creates a timestamped log file.
  4. Warns when pending updates exceed the configured threshold.

๐Ÿ“„ Example Output

Generated log file:

update_log_2026-07-05.log

Example alert:

โš  WARNING

52 packages are waiting to be upgraded.

System update recommended.

๐Ÿ’ผ Skills Demonstrated

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

๐ŸŽฏ Use Cases

PatchSentinel is useful for:

  • Linux System Administrators
  • DevOps Engineers
  • Security Teams
  • Home Lab Environments
  • Server Maintenance
  • Routine Patch Management
  • Linux Administration Training

๐Ÿ”ฎ Planned Enhancements

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)

๐Ÿ‘จโ€๐Ÿ’ป Author

Kachinonye Nmezi

Junior Linux Administrator | Bash Scripting & Automation Specialist

GitHub: https://github.com/Kachinonye

LinkedIn: https://www.linkedin.com/in/kachinonye-nmezi-74170723b/


๐Ÿ“œ License

Licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages