opnsense-src/usr.sbin/services_mkdb
Alan Somers f7896015fc ctlstat: add prometheus output
When invoked by inetd, ctlstat -P will now produce output suitable for
ingestion into Prometheus.

It's a drop-in replacement for https://github.com/Gandi/ctld_exporter,
except that it doesn't report the number of initiators per target, and
it does report time and dma_time.

Sponsored by:	Axcient
Relnotes:	yes
Reviewed by: 	bapt, bcr
Differential Revision: https://reviews.freebsd.org/D29901

(cherry picked from commit 1a7f22d9c2)
2022-05-12 14:43:01 -06:00
..
extern.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile Normalize deployment tools usage and definitions by putting into one place 2020-04-07 02:46:22 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
services ctlstat: add prometheus output 2022-05-12 14:43:01 -06:00
services_mkdb.8 Fix a miss merge in the services_mkdb(8) man page 2016-06-10 14:59:11 +00:00
services_mkdb.c style(9): Fix space after #define. 2020-03-12 03:56:54 +00:00
uniq.c usr.sbin/services_mkdb: diff reduction against NetBSD. 2021-04-19 18:00:09 -07:00