banshee est en développement actif : les collecteurs vont encore changer, et une version que vous publiez demandera sans doute des ajustements. Pour un usage stable, attendez la version 1.0.0.

Linux

banshee/linux-collection/linux/snmp/

tcp

Number of established TCP connections of a Linux host by SNMP.

  • linux
  • snmp
  • tcp
  • network
  • net-snmp

par banshee1 installation2 versions

TCP connections of a Linux host, by SNMP

Returns the number of established TCP connections. Two watches are offered, with no default threshold.

How it works

The collector reads tcpCurrEstab (TCP-MIB): the connections in the ESTABLISHED or CLOSE-WAIT state, at the moment of the run.

Prerequisites

  • snmpd (net-snmp) running on the host, listening on an address the poller reaches (UDP 161), with the firewall open to the poller only.
  • The view granted to the poller includes the tcp group (.1.3.6.1.2.1.6).
  • Read-only access, SNMPv2c or SNMPv3, set on the host or one of its folders (protocol:snmp:* variables).
# /etc/snmp/snmpd.conf
agentaddress udp:161
view   banshee included .1.3.6.1.2.1.6.9
rocommunity <community> 192.0.2.10 -V banshee
# or: rouser <user> priv -V banshee

Outputs

NameLabelUnit
establishedEstablished TCP connections

Watches

WatchKindDefaultsChecked
Too many TCP connectionsAbove a threshold, on establishedno thresholdno
Unusual number of connectionsUnusual value, on establishednormal sensitivityno

Limits

  • What is normal depends on the server's role: neither watch has a default threshold.
  • Connections in other states (TIME-WAIT, SYN-RECV) are not counted: a flood of half-open connections is not seen.