add proc_net_sockstat and sockstat6 charts info (#11567)
* fix grammar * add proc_net_sockstat charts info * add proc_net_sockstat6 charts info * update proc_net_sockstat6 charts info
Ilya Mashchenko committed
Sep 24, 2021 at 17:11 UTC
2251a5211fe6e5c3883ccdcfde475180b5ffac17
1 file changed
+69
-2
web/gui/dashboard_info.js
+69
-2
@@ -1466,7 +1466,7 @@ netdataDashboard.context = {
1466
'<b>Forwarded</b> - input packets for which this host was not their final IP destination, '+
1467
'as a result of which an attempt was made to find a route to forward them to that final destination. '+
1468
'In hosts which do not act as IP Gateways, this counter will include only those packets which were '+
1469
- '<a href="https://en.wikipedia.org/wiki/Source_routing" target="_blank">Source-Routed</a>, '+
1469
+ '<a href="https://en.wikipedia.org/wiki/Source_routing" target="_blank">Source-Routed</a> '+
1470
'and the Source-Route option processing was successful. '+
1471
'<b>Delivered</b> - packets delivered to the upper layer protocols, e.g. TCP, UDP, ICMP, and so on.</p>'
1472
},
@@ -1590,6 +1590,50 @@ netdataDashboard.context = {
1590
+ ' <code>TCPSynRetrans</code> shows retries for new outbound TCP connections, which can indicate general connectivity issues or backlog on the remote host.'
1591
},
1592
1593
+ 'ipv4.sockstat_sockets': {
1594
+ info: 'The total number of used sockets for all '+
1595
+ '<a href="https://man7.org/linux/man-pages/man7/address_families.7.html" target="_blank">address families</a> '+
1596
+ 'in this system.'
1597
+ },
1598
+
1599
+ 'ipv4.sockstat_tcp_sockets': {
1600
+ info: '<p>The number of TCP sockets in the system in certain '+
1601
+ '<a href="https://en.wikipedia.org/wiki/Transmission_Control_Protocol#Protocol_operation" target="_blank">states</a>.</p>'+
1602
+ '<p><b>Alloc</b> - in any TCP state. '+
1603
+ '<b>Orphan</b> - no longer attached to a socket descriptor in any user processes, '+
1604
+ 'but for which the kernel is still required to maintain state in order to complete the transport protocol. '+
1605
+ '<b>InUse</b> - in any TCP state, excluding TIME-WAIT and CLOSED. '+
1606
+ '<b>TimeWait</b> - in the TIME-WAIT state.</p>'
1607
+ },
1608
+
1609
+ 'ipv4.sockstat_tcp_mem': {
1610
+ info: 'The amount of memory used by allocated TCP sockets.'
1611
+ },
1612
+
1613
+ 'ipv4.sockstat_udp_sockets': {
1614
+ info: 'The number of used UDP sockets.'
1615
+ },
1616
+
1617
+ 'ipv4.sockstat_udp_mem': {
1618
+ info: 'The amount of memory used by allocated UDP sockets.'
1619
+ },
1620
+
1621
+ 'ipv4.sockstat_udplite_sockets': {
1622
+ info: 'The number of used UDP-Lite sockets.'
1623
+ },
1624
+
1625
+ 'ipv4.sockstat_raw_sockets': {
1626
+ info: 'The number of used <a href="https://en.wikipedia.org/wiki/Network_socket#Types" target="_blank"> raw sockets</a>.'
1627
+ },
1628
+
1629
+ 'ipv4.sockstat_frag_sockets': {
1630
+ info: 'The number of entries in hash tables that are used for packet reassembly.'
1631
+ },
1632
+
1633
+ 'ipv4.sockstat_frag_mem': {
1634
+ info: 'The amount of memory used for packet reassembly.'
1635
+ },
1636
+
1637
// ------------------------------------------------------------------------
1638
// IPv6
1639
@@ -1602,7 +1646,7 @@ netdataDashboard.context = {
1646
'<b>Forwarded</b> - input packets for which this host was not their final IP destination, '+
1647
'as a result of which an attempt was made to find a route to forward them to that final destination. '+
1648
'In hosts which do not act as IP Gateways, this counter will include only those packets which were '+
1605
- '<a href="https://en.wikipedia.org/wiki/Source_routing" target="_blank">Source-Routed</a>, '+
1649
+ '<a href="https://en.wikipedia.org/wiki/Source_routing" target="_blank">Source-Routed</a> '+
1650
'and the Source-Route option processing was successful. '+
1651
'<b>Delivers</b> - packets delivered to the upper layer protocols, e.g. TCP, UDP, ICMP, and so on.</p>'
1652
},
@@ -1748,6 +1792,29 @@ netdataDashboard.context = {
1792
'<b>ECTP0</b> and <b>ECTP1</b> - ECN capable transport.</p>'
1793
},
1794
1795
+ 'ipv6.sockstat6_tcp_sockets': {
1796
+ info: 'The number of TCP sockets in any '+
1797
+ '<a href="https://en.wikipedia.org/wiki/Transmission_Control_Protocol#Protocol_operation" target="">state</a>, '+
1798
+ 'excluding TIME-WAIT and CLOSED.'
1799
+ },
1800
+
1801
+ 'ipv6.sockstat6_udp_sockets': {
1802
+ info: 'The number of used UDP sockets.'
1803
+ },
1804
+
1805
+ 'ipv6.sockstat6_udplite_sockets': {
1806
+ info: 'The number of used UDP-Lite sockets.'
1807
+ },
1808
+
1809
+ 'ipv6.sockstat6_raw_sockets': {
1810
+ info: 'The number of used <a href="https://en.wikipedia.org/wiki/Network_socket#Types" target="_blank"> raw sockets</a>.'
1811
+ },
1812
+
1813
+ 'ipv6.sockstat6_frag_sockets': {
1814
+ info: 'The number of entries in hash tables that are used for packet reassembly.'
1815
+ },
1816
+
1817
+
1818
// ------------------------------------------------------------------------
1819
// SCTP
1820