openqa-mon(8)
π NAME π
openqa-mon β CLI client for monitoring status of openQA jobs. Also hi bestie, this is the manual page for openqa-mon(8), and we are about to make openQA monitoring make sense. π
πΈ SYNOPSIS πΈ
openqa-mon [OPTIONS] REMOTE [JOBS]
β¨ DESCRIPTION β¨
Okay so openqa-mon is a command line tool for monitoring and live monitoring of jobs on an openQA instance. It periodically queries one or multiple instances and either gives you an overview of the currently running jobs or monitors a set of given job IDs. Thatβs the whole vibe: either youβre peeking at the whole instance, or youβre lovingly keeping tabs on specific jobs. π«Ά
π OPTIONS π
-h,--helpβ Print help message.-j,--jobs JOBSβ Monitor given job IDs instead of overview on theREMOTEinstance. Supported input is a single job ID, multiple comma-separated job IDs or a job ID range (See examples). The-jparameter can be omitted β openqa-mon detects an integer, set of integers or integer range automatically and treats them as job IDs. iykyk π-c,--continuous SECONDSβ Enable live monitor and refresh at the givenSECONDSintervals.-b,--bellβ Enable bell notifications (terminal bell sound).-n,--notifyβ Enable desktop notifications (sent vianotify-send).--no-bellβ Disable bell notifications.--no-notifyβ Disable desktop notifications.-m,--monitorβ Enable bell and desktop notifications (alias for--bell --notify).--silentβ Disable bell and desktop notifications (alias for--no-bell --no-notify).-f,--followβ Follow jobs, i.e. replace jobs by their clones if available. This setting is useful to track jobs if they are going to be restarted in openQA.-p,--hierarchyβ Display job hierarchy (i.e. children of the jobs). This is particularly useful for virtualization runs.--config FILEβ Reads additional config fileFILE. See CONFIG FILES for details.
π¦ CONFIG FILES π¦
openqa-mon reads by default the following configuration files: /etc/openqa/openqa-mon.conf (global config) or in ~/.openqa-mon.conf (user config).
An example configuration file looks like the following:
## openqa-mon config file
##
## this is an example config file for openqa-mon. Modify and place this file in
## /etc/openqa/openqa-mon.conf (global) or in ~/.openqa-mon.conf (user config)
##
## Have a lot of fun ...
## Default remote to use, if nothing is defined
# DefaultRemote = http://openqa.opensuse.org
## Enable bell notifications
# Bell = true
## Enable desktop notifications
# Notification = true
## Follow jobs
# Follow = true
π EXAMPLES π
Example 1 β overview time
openqa-mon https://openqa.opensuse.org
List current overview of the instance at https://openqa.opensuse.org.
Example 2 β one specific job
openqa-mon https://openqa.opensuse.org -j 42
List the status of the job 42 on https://openqa.opensuse.org.
Example 3 β a little job range moment
openqa-mon https://openqa.opensuse.org -j 42..45
openqa-mon https://openqa.opensuse.org -j 42+3
List the status of the jobs 42,43,44 and 45 from https://openqa.opensuse.org.
Example 4 β -j said βyou can omit meβ
openqa-mon https://openqa.opensuse.org 42 1335..1339
openqa-mon https://openqa.opensuse.org 42 1335+4
List the status of the jobs 42 and the jobs from 1335 to 1339. The -j parameter can be omitted β openqa-mon detects integers, sets of integers and integer ranges and treats them as job IDs.
Example 5 β continuous monitoring with bell chaos
openqa-mon -c 5 -b https://openqa.opensuse.org 42,1335..1339
openqa-mon -c 5 -b https://openqa.opensuse.org/t42 https://openqa.opensuse.org/t1335..1339
Continuously monitor the jobs 42 and the jobs from 1335 to 1339. Refresh every 5 seconds. Ring bell on status changes.
Example 6 β follow the job, bestie
openqa-mon -b -n -f -c 5 https://openqa.opensuse.org 42
Continuously monitor the job 42. Refresh every 5 seconds. Ring bell and displays desktop notification on status changes. Follow job, if it gets restarted.
Example 7 β URL path detection slay
openqa-mon http://openqa.opensuse.org/t1245
openqa-mon http://openqa.opensuse.org/tests/1245
Monitor job 1245 on instance http://openqa.opensuse.org/.
Example 8 β the combined-flags main character
openqa-mon -mfp http://openqa.opensuse.org/t413
Monitor job 413 on instance http://openqa.opensuse.org/ with enabled notifications, follow the job and display the hierarchy.
π COPYRIGHT π
Copyright (C) 2020 SUSE LLC
π CREDITS π
Creator: Felix Niederwanger <felix.niederwanger@suse.de>
Thanks for the constructive feedback to (in no particular order)
- Christian Dywan
- Pavel Dostal
- Oliver Kurz
- George Gkioulis
- Jozef Pupava
This tool has been created to help me and my colleagues work better with openQA.
https://github.com/grisu48/openqa-mon
Thatβs the whole openqa-mon(8) manual, bestie β version 1.0, dated 23 Apr 2020. Now go give those jobs a vibe check π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: openqa-mon 1.3.0-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: openqa-mon 1.3.0-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: openqa-mon 1.3.0-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: openqa-mon 1.3.0-bp160.1.13 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms