Bug 247218 - sysutils/munin-node: show currently established TCP connections in netstat plugin
Summary: sysutils/munin-node: show currently established TCP connections in netstat pl...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-13 00:10 UTC by nusenu
Modified: 2020-06-13 00:10 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 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.


88c88
< 	echo 'established.type DERIVE'
---
> 	echo 'established.type GAUGE'
102c102
< /connections established/ { print "established.value " $1 }'
---
> /in ESTABLISHED state/    { print "established.value " $1 }'