Skip to content

Add a commad "meg alerts" that receive and log "igwn-alert" messages "SCIMMA" alerts for debuging functionality

In the project: https://git.ligo.org/emfollow/k8s/llai-deploy-sandboxed is defined a utility https://git.ligo.org/emfollow/k8s/llai-deploy-sandboxed/-/blob/main/utility/SCIMMA.py?ref_type=heads that listen to a Kafka queue distributed using a hopscotch server. The command should povide

  • meg alerts topics
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --server                 TEXT  kafka server name [default: hopskotch]                                      │
│ --filter                 TEXT  regex filter of the available topics                                        │
│ --auth      --no-auth          use SCIMMA authentication [default: no-auth]                                │
│ --help                         Show this message and exit.                                                 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
  • meg alerts receiver
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --server                 TEXT  kafka server name [default: hopskotch]                                      │
│ --topic                  TEXT  topic used for gwalerts [default: igwn.gwalert-minikube]                    │
│ --auth      --no-auth          use SCIMMA authentication [default: no-auth]                                │
│ --dump      --no-dump          Dump to disk received messages [default: dump]                              │
│ --help                         Show this message and exit.                                                 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

The defaults are defined to connect the server deployed in a sandboxed installation.

Edited by Roberto DePietri