2019-09-28 18:27:06 +03:00
|
|
|
.. _connections:
|
|
|
|
|
|
|
|
Connections
|
|
|
|
===========
|
|
|
|
|
|
|
|
.. image:: ../_static/connections.png
|
|
|
|
|
|
|
|
This plugin display extended information about network connections.
|
|
|
|
|
|
|
|
The states are the following:
|
|
|
|
- Listen: all ports created by server and waiting for a client to connect
|
|
|
|
- Initialized: All states when a connection is initialized (sum of SYN_SENT and SYN_RECEIVED)
|
|
|
|
- Established: All established connections between a client and a server
|
|
|
|
- Terminated: All states when a connection is terminated (FIN_WAIT1, CLOSE_WAIT, LAST_ACK, FIN_WAIT2, TIME_WAIT and CLOSE)
|
2019-10-07 14:01:18 +03:00
|
|
|
- Tracked: Current number and maximum Netfilter tracker connection (nf_conntrack_count/nf_conntrack_max)
|
2019-09-28 18:27:06 +03:00
|
|
|
|
|
|
|
The configuration should be done in the ``[connections]`` section of the
|
|
|
|
Glances configuration file.
|
|
|
|
|
2019-10-07 14:01:18 +03:00
|
|
|
By default the plugin is **disabled**. Please change your configuration file as following to enable it
|
2019-09-28 18:27:06 +03:00
|
|
|
|
|
|
|
.. code-block:: ini
|
|
|
|
|
|
|
|
[connections]
|
|
|
|
disable=False
|
2019-10-07 14:01:18 +03:00
|
|
|
# nf_conntrack thresholds in %
|
|
|
|
nf_conntrack_percent_careful=70
|
|
|
|
nf_conntrack_percent_warning=80
|
|
|
|
nf_conntrack_percent_critical=90
|