Package: debian-security-support
Severity: wishlist

Dear maintainer,

it would be nice if `check-support-status` provided machine-readable
output. It seems the "NAGIOS plugin format" has become a kind of
de-facto standard for these things, since it can be read by multiple
monitoring solutions.

For example: needrestart has the option `-p` which outputs relevant
information in this format.

Looking at
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/pluginapi.html
and https://nagios-plugins.org/doc/guidelines.html#AEN200
it would be pretty easy to make the current output compatible by
prepending a line, like:

OK - All fine | packages=0;;0;0

or

WARN - Limited security support for one or more packages | packages=3;;0;0

but changing the return value might be considered a breaking change, so
maybe adding an additional option (like needrestart does) might be the
better way.

Regards, Tobias

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), 
LANGUAGE=de:en_GB:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debian-security-support depends on:
ii  adduser                3.137
ii  debconf [debconf-2.0]  1.5.82
ii  gettext-base           0.21-13

debian-security-support recommends no packages.

debian-security-support suggests no packages.

Reply via email to