Bug 228642 - sysutils/munin-node: show currently established TCP connections in netstat plugin
Summary: sysutils/munin-node: show currently established TCP connections in netstat pl...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-31 14:46 UTC by nusenu
Modified: 2018-06-05 12:34 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mat)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nusenu 2018-05-31 14:46:50 UTC
This modification to the netstat plugin 
/usr/local/share/munin/plugins/netstat
makes it show the currently established TCP connections (as this module does on linux).

99c99
< /connections established/ { print "established.value " $1 }'
---
> /in ESTABLISHED state/ { print "established.value " $1 }'
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2018-06-05 12:34:06 UTC
This does not work on FreeBSD 10.4, there is no line with "in ESTABLISHED state" in it.