An open API service indexing awesome lists of open source software.

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

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 <