add proc_net_ip_vs_stats charts info (#11546)
* add proc_net_ip_vs_stats charts info
Ilya Mashchenko committed
Sep 22, 2021 at 15:02 UTC
24209db726f9bd0204132b6d55332c87315fc332
1 file changed
+22
-1
web/gui/dashboard_info.js
+22
-1
@@ -95,7 +95,15 @@ netdataDashboard.menu = {
95
'ipvs': {
96
title: 'IP Virtual Server',
97
icon: '<i class="fas fa-eye"></i>',
98
- info: '<a href="http://www.linuxvirtualserver.org/software/ipvs.html" target="_blank">IPVS (IP Virtual Server)</a> implements transport-layer load balancing inside the Linux kernel, so called Layer-4 switching. IPVS running on a host acts as a load balancer at the front of a cluster of real servers, it can direct requests for TCP/UDP based services to the real servers, and makes services of the real servers to appear as a virtual service on a single IP address.'
98
+ info: '<p><a href="http://www.linuxvirtualserver.org/software/ipvs.html" target="_blank">IPVS (IP Virtual Server)</a> '+
99
+ 'implements transport-layer load balancing inside the Linux kernel, so called Layer-4 switching. '+
100
+ 'IPVS running on a host acts as a load balancer at the front of a cluster of real servers, '+
101
+ 'it can direct requests for TCP/UDP based services to the real servers, '+
102
+ 'and makes services of the real servers to appear as a virtual service on a single IP address.</p>'+
103
+ '<p>Netdata collects summary statistics, reading <code>/proc/net/ip_vs_stats</code>. '+
104
+ 'To display the statistics information of services and their servers, run <code>ipvsadm -Ln --stats</code> '+
105
+ 'or <code>ipvsadm -Ln --rate</code> for the rate statistics. '+
106
+ 'For details, see <a href="https://linux.die.net/man/8/ipvsadm" target="_blank">ipvsadm(8)</a>.</p>'
107
},
108
109
'netfilter': {
@@ -1724,6 +1732,19 @@ netdataDashboard.context = {
1732
]
1733
},
1734
1735
+ // ------------------------------------------------------------------------
1736
+ // IPVS
1737
+ 'ipvs.sockets': {
1738
+ info: 'Total created connections for all services and their servers. '+
1739
+ 'To see the IPVS connection table, run <code>ipvsadm -Lnc</code>.'
1740
+ },
1741
+ 'ipvs.packets': {
1742
+ info: 'Total transferred packets for all services and their servers.'
1743
+ },
1744
+ 'ipvs.net': {
1745
+ info: 'Total network traffic for all services and their servers.'
1746
+ },
1747
+
1748
// ------------------------------------------------------------------------
1749
// DISKS
1750