opnsense-src/usr.sbin/inetd
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
..
builtins.c inetd: prefer strtonum(3) to strspn(3)+atoi(3), NFC 2019-12-31 04:36:14 +00:00
inetd.8 inetd.8: Lint the file 2021-12-09 10:17:55 +01:00
inetd.c inetd: Use the synopsis from the manual page 2021-12-13 02:10:26 +01:00
inetd.conf ctlstat: add prometheus output 2022-05-12 14:43:01 -06:00
inetd.h inetd: track all child pids, regardless of maxchild spec 2020-01-01 04:22:04 +00:00
Makefile inetd: convert remaining bzero(3) to memset(3), NFC 2020-01-01 04:29:08 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00