mirror of
https://github.com/opnsense/src.git
synced 2026-05-04 17:05:14 -04:00
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)
10 lines
130 B
Makefile
10 lines
130 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= ctlstat
|
|
MAN= ctlstat.8
|
|
SDIR= ${SRCTOP}/sys
|
|
CFLAGS+= -I${SDIR}
|
|
|
|
LIBADD= sbuf bsdxml
|
|
|
|
.include <bsd.prog.mk>
|