https://github.com/mohamedelashri/condor-watch
Poor's man solution to monitor your HTCondor jobs
https://github.com/mohamedelashri/condor-watch
cern
Last synced: 26 days ago
JSON representation
Poor's man solution to monitor your HTCondor jobs
- Host: GitHub
- URL: https://github.com/mohamedelashri/condor-watch
- Owner: MohamedElashri
- License: gpl-3.0
- Created: 2025-04-21T15:36:23.000Z (27 days ago)
- Default Branch: main
- Last Pushed: 2025-04-21T16:01:04.000Z (27 days ago)
- Last Synced: 2025-04-21T16:39:14.360Z (27 days ago)
- Topics: cern
- Language: Shell
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# condor-watch
A lightweight, cron-compatible HTCondor job monitoring tool.
## Features
- Monitor one or multiple HTCondor job IDs
- Get email notifications on status changes
- Fully configurable via a single config file
- Works on CERN lxplus or any HTCondor user machine
- Relies solely on `msmtp` for outbound mail
- Cron-friendly and does not require root## Configuration
Edit `condor-watch.conf` to specify:
- Job IDs to monitor
- Email settings (sender, receiver, subject)
- Notification level (on every check or only on changes)## Email Delivery with `msmtp`
This tool **only supports** sending email via [`msmtp`](https://marlam.de/msmtp/), a lightweight SMTP relay tool.
### ✅ Step 1: Install `msmtp` locally
#### Option A: From Conda (preferred on lxplus)
```bash
conda install -c conda-forge msmtp
```Make sure the installed binary is on your `$PATH`.
#### Option B: Manual build in `$HOME`
```bash
mkdir -p ~/opt/msmtp && cd ~/opt
wget https://marlam.de/msmtp/releases/msmtp-1.8.24.tar.xz
tar -xf msmtp-1.8.24.tar.xz && cd msmtp-1.8.24
./configure --prefix=$HOME/opt/msmtp-install
make && make install
export PATH="$HOME/opt/msmtp-install/bin:$PATH"
```### ✅ Step 2: Create a secure `.msmtprc`
```bash
cat > ~/.msmtprc <