Bug 247218

Summary: sysutils/munin-node: show currently established TCP connections in netstat plugin
Product: Ports & Packages Reporter: nusenu <freebsd-vheg>
Component: Individual Port(s)Assignee: Mathieu Arnold <mat>
Status: In Progress ---    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (mat)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description nusenu 2020-06-13 00:10:42 UTC
The description of the munin netstat plugin says it shows "The number of currently open connections".
Currently this is not the case, this proposed change aims to fix this. 

Tested on FreeBSD 11.3 and 12.1.

< 	echo 'established.type DERIVE'
> 	echo 'established.type GAUGE'
< /connections established/ { print "established.value " $1 }'
> /in ESTABLISHED state/    { print "established.value " $1 }'
Comment 1 Mathieu Arnold freebsd_committer 2020-08-26 13:49:50 UTC
I don't think you can change the type of an existing DS.  You may want to create a new one with this new data.

Also, while this is an issue related to FreeBSD, this plugin is provided by munin directly, you should open an issue directly with them, here https://github.com/munin-monitoring/munin/issues

Let me know when you have opened an issue there, so I can close this one here.