Pack: monit-live

CERN MONIT monitoring snapshots (SAM, HTCondor, Rucio) and the live MONIT query tools.

Field Value
Kind context
Version 0.1.0
Needs a credential to publish yes
Okg modules it needs document_starter, person, extraction, dataset
Packs it needs cms-catalogs

In which bundles

Add it to an instance with archi add monit-live.

Sources

  • monit-live.monit_condor
  • monit-live.monit_rucio_datasets
  • monit-live.monit_rucio_transfer
  • monit-live.monit_sam

Questions

This pack asks no questions.

Credentials

The pack reads these environment variables. Only the names are listed. Put each value in the instance's .env (KEY=value, one per line): archi add and archi ingest pass it to ingestion. A value exported in the shell wins. okg run by hand does not read .env.

  • MONIT_GRAFANA_TOKEN

Freshness limits

archi doctor compares each source's age with its limit.

Source Longest acceptable age
monit-live.monit_condor 36h
monit-live.monit_rucio_datasets 36h
monit-live.monit_rucio_transfer 36h
monit-live.monit_sam 36h
Name From Edge To Direction Minimum share Severity
snapshot_site monitoring_snapshot hosts site in 0.8 warn
transfer_site transfer_job hosts site in 0.8 warn

Invariants

The pack owns these checks. They leave with it.

Name Severity What it checks
monit_live_coverage error The MONIT sources must have live snapshots and transfers. Required live subtypes: monitoring_snapshot, transfer_job. A missing one means the input was empty or the connector regressed.

Playbooks

  • monitoring_condor_snapshot.md

Live tools

  • archi.tools.monit:archi_monit_rucio_search (idempotent)
  • archi.tools.monit:archi_monit_rucio_aggregate (idempotent)
  • archi.tools.monit:archi_monit_condor_search (idempotent)
  • archi.tools.monit:archi_monit_condor_aggregate (idempotent)