connections.rst 1.0 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
.. _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)
N
nicolargo 已提交
15
- Tracked: Current number and maximum Netfilter tracker connection (nf_conntrack_count/nf_conntrack_max)
16 17 18 19

The configuration should be done in the ``[connections]`` section of the
Glances configuration file.

N
nicolargo 已提交
20
By default the plugin is **disabled**. Please change your configuration file as following to enable it
21 22 23 24 25

.. code-block:: ini

    [connections]
    disable=False
N
nicolargo 已提交
26 27 28 29
    # nf_conntrack thresholds in %
    nf_conntrack_percent_careful=70
    nf_conntrack_percent_warning=80
    nf_conntrack_percent_critical=90