Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jul 2025 13:42:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 288074] prometheus_sysctl_exporter missing 'net.inet.tcp.states'
Message-ID:  <bug-288074-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288074

            Bug ID: 288074
           Summary: prometheus_sysctl_exporter missing
                    'net.inet.tcp.states'
           Product: Base System
           Version: 14.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: vsasjason@gmail.com

Since node_exporter doesn't have usable TCP connection stats collector on
FreeBSD, I decided to look into sysctl:
$ sysctl net.inet.tcp.states ; sysctl -a | grep 'net.inet.tcp.states'
net.inet.tcp.states: 0 10 0 1 112 1 2 0 6 0 25
net.inet.tcp.states: 0 10 0 2 112 2 2 0 4 0 25

However, prometheus_sysctl_exporter(8) doesn't return metric from this OID:
$ prometheus_sysctl_exporter -d | egrep '^sysctl_net_inet_tcp_st' | wc -l
       0
$

Perhaps I'm missing something obvious?

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-288074-227>