diff options
author | Alan Somers <asomers@FreeBSD.org> | 2021-04-21 22:56:48 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2022-05-12 20:43:01 +0000 |
commit | f7896015fcde51e5ffb5172c3ef813bca238b60f (patch) | |
tree | 5ec48ade4b0bdec2ebd2578aaddbc6fd97c59bec /usr.sbin/services_mkdb | |
parent | e4f508d5a211e99dd6179794b51fefa329886be3 (diff) | |
download | src-f7896015fcde51e5ffb5172c3ef813bca238b60f.tar.gz src-f7896015fcde51e5ffb5172c3ef813bca238b60f.zip |
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 1a7f22d9c211f504f6c48a86401469181a67ec34)
Diffstat (limited to 'usr.sbin/services_mkdb')
-rw-r--r-- | usr.sbin/services_mkdb/services | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/services_mkdb/services b/usr.sbin/services_mkdb/services index d1f0596c958c..71dda5b8d80f 100644 --- a/usr.sbin/services_mkdb/services +++ b/usr.sbin/services_mkdb/services @@ -2000,6 +2000,7 @@ bacula-sd 9103/udp #Bacula Storage Daemon prom-sysctl 9124/tcp #prometheus_sysctl_exporter(8) git 9418/tcp #git pack transfer service git 9418/udp #git pack transfer service +prom-ctl 9572/tcp #CTL prometheus odbcpathway 9628/tcp #ODBC Pathway Service odbcpathway 9628/udp #ODBC Pathway Service davsrc 9800/tcp #WebDav Source Port |