PatchMon¶
PatchMon is a web-based application designed to monitor and manage software patches and updates across multiple systems.
Installation¶
The application is installed by cloning the GitHub repository and running a series of npm commands to build the frontend and backend. The update.sh script handles the installation of a new version.
Default Port: 3399
Installation path: /opt/patchmon
Config¶
Configuration for PatchMon is managed through .env files for both the frontend and backend, and a patchmon.creds file for credentials.
Service¶
PatchMon runs as a systemd service.
To install the service, you can use the service:install task.
Install Service
Settings¶
The update-settings.js script is used to configure the database settings for PatchMon.
This can be run using the settings:install task.
Update Settings
Upgrade¶
The update.sh script automates the process of downloading and installing the latest version of PatchMon. It checks for the latest release on GitHub, backs up existing configuration, downloads the new version, builds it, and restarts the service.
Backup¶
The backup.sh script is used to back up the Redis database. It triggers a BGSAVE, waits for it to complete, and then encrypts the dump file using sops.