master
md 163 lines 8.18 KB
Rendered Raw
1 <!--startmeta
2 custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/collectors/proc.plugin/integrations/network_statistics.md"
3 meta_yaml: "https://github.com/netdata/netdata/edit/master/src/collectors/proc.plugin/metadata.yaml"
4 sidebar_label: "Network statistics"
5 learn_status: "Published"
6 learn_rel_path: "Collecting Metrics/Collectors/Networking"
7 keywords: ['ip', 'udp', 'udplite', 'icmp', 'netstat', 'snmp']
8 message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE"
9 endmeta-->
10
11 # Network statistics
12
13
14 <img src="https://netdata.cloud/img/network-wired.svg" width="150"/>
15
16
17 Plugin: proc.plugin
18 Module: /proc/net/netstat
19
20 <img src="https://img.shields.io/badge/maintained%20by-Netdata-%2300ab44" />
21
22 ## Overview
23
24 This integration provides metrics from the `netstat`, `snmp` and `snmp6` modules.
25
26
27
28 This collector is supported on all platforms.
29
30 This collector supports collecting metrics from multiple instances of this integration, including remote instances.
31
32
33 ### Default Behavior
34
35 #### Auto-Detection
36
37 This integration doesn't support auto-detection.
38
39 #### Limits
40
41 The default configuration for this integration does not impose any limits on data collection.
42
43 #### Performance Impact
44
45 The default configuration for this integration is not expected to impose a significant performance impact on the system.
46
47 ## Setup
48
49
50 ### Prerequisites
51
52 No action required.
53
54 ### Configuration
55
56 #### Options
57
58
59
60 There are no configuration options.
61
62
63
64 #### via File
65
66 There is no configuration file.
67
68 ##### Examples
69 There are no configuration examples.
70
71
72
73 ## Alerts
74
75
76 The following alerts are available:
77
78 | Alert name | On metric | Description |
79 |:------------|:----------|:------------|
80 | [ 1m_tcp_syn_queue_drops ](https://github.com/netdata/netdata/blob/master/src/health/health.d/tcp_listen.conf) | ip.tcp_syn_queue | average number of SYN requests was dropped due to the full TCP SYN queue over the last minute (SYN cookies were not enabled) |
81 | [ 1m_tcp_syn_queue_cookies ](https://github.com/netdata/netdata/blob/master/src/health/health.d/tcp_listen.conf) | ip.tcp_syn_queue | average number of sent SYN cookies due to the full TCP SYN queue over the last minute |
82 | [ 1m_tcp_accept_queue_overflows ](https://github.com/netdata/netdata/blob/master/src/health/health.d/tcp_listen.conf) | ip.tcp_accept_queue | average number of overflows in the TCP accept queue over the last minute |
83 | [ 1m_tcp_accept_queue_drops ](https://github.com/netdata/netdata/blob/master/src/health/health.d/tcp_listen.conf) | ip.tcp_accept_queue | average number of dropped packets in the TCP accept queue over the last minute |
84 | [ tcp_connections ](https://github.com/netdata/netdata/blob/master/src/health/health.d/tcp_conn.conf) | ip.tcpsock | TCP connections utilization |
85 | [ 1m_ip_tcp_resets_sent ](https://github.com/netdata/netdata/blob/master/src/health/health.d/tcp_resets.conf) | ip.tcphandshake | average number of sent TCP RESETS over the last minute |
86 | [ 10s_ip_tcp_resets_sent ](https://github.com/netdata/netdata/blob/master/src/health/health.d/tcp_resets.conf) | ip.tcphandshake | average number of sent TCP RESETS over the last 10 seconds. This can indicate a port scan, or that a service running on this host has crashed. Netdata will not send a clear notification for this alarm. |
87 | [ 1m_ip_tcp_resets_received ](https://github.com/netdata/netdata/blob/master/src/health/health.d/tcp_resets.conf) | ip.tcphandshake | average number of received TCP RESETS over the last minute |
88 | [ 10s_ip_tcp_resets_received ](https://github.com/netdata/netdata/blob/master/src/health/health.d/tcp_resets.conf) | ip.tcphandshake | average number of received TCP RESETS over the last 10 seconds. This can be an indication that a service this host needs has crashed. Netdata will not send a clear notification for this alarm. |
89 | [ 1m_ipv4_udp_receive_buffer_errors ](https://github.com/netdata/netdata/blob/master/src/health/health.d/udp_errors.conf) | ipv4.udperrors | average number of UDP receive buffer errors over the last minute |
90 | [ 1m_ipv4_udp_send_buffer_errors ](https://github.com/netdata/netdata/blob/master/src/health/health.d/udp_errors.conf) | ipv4.udperrors | average number of UDP send buffer errors over the last minute |
91
92
93 ## Metrics
94
95 Metrics grouped by *scope*.
96
97 The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.
98
99
100
101 ### Per Network statistics instance
102
103
104
105 This scope has no labels.
106
107 Metrics:
108
109 | Metric | Dimensions | Unit |
110 |:------|:----------|:----|
111 | system.ip | received, sent | kilobits/s |
112 | ip.tcpmemorypressures | pressures | events/s |
113 | ip.tcpconnaborts | baddata, userclosed, nomemory, timeout, linger, failed | connections/s |
114 | ip.tcpreorders | timestamp, sack, fack, reno | packets/s |
115 | ip.tcpofo | inqueue, dropped, merged, pruned | packets/s |
116 | ip.tcpsyncookies | received, sent, failed | packets/s |
117 | ip.tcp_syn_queue | drops, cookies | packets/s |
118 | ip.tcp_accept_queue | overflows, drops | packets/s |
119 | ip.tcpsock | connections | active connections |
120 | ip.tcppackets | received, sent | packets/s |
121 | ip.tcperrors | InErrs, InCsumErrors, RetransSegs | packets/s |
122 | ip.tcpopens | active, passive | connections/s |
123 | ip.tcphandshake | EstabResets, OutRsts, AttemptFails, SynRetrans | events/s |
124 | ipv4.packets | received, sent, forwarded, delivered | packets/s |
125 | ipv4.errors | InDiscards, OutDiscards, InNoRoutes, OutNoRoutes, InHdrErrors, InAddrErrors, InTruncatedPkts, InCsumErrors | packets/s |
126 | ipv4.bcast | received, sent | kilobits/s |
127 | ipv4.bcastpkts | received, sent | packets/s |
128 | ipv4.mcast | received, sent | kilobits/s |
129 | ipv4.mcastpkts | received, sent | packets/s |
130 | ipv4.icmp | received, sent | packets/s |
131 | ipv4.icmpmsg | InEchoReps, OutEchoReps, InDestUnreachs, OutDestUnreachs, InRedirects, OutRedirects, InEchos, OutEchos, InRouterAdvert, OutRouterAdvert, InRouterSelect, OutRouterSelect, InTimeExcds, OutTimeExcds, InParmProbs, OutParmProbs, InTimestamps, OutTimestamps, InTimestampReps, OutTimestampReps | packets/s |
132 | ipv4.icmp_errors | InErrors, OutErrors, InCsumErrors | packets/s |
133 | ipv4.udppackets | received, sent | packets/s |
134 | ipv4.udperrors | RcvbufErrors, SndbufErrors, InErrors, NoPorts, InCsumErrors, IgnoredMulti | events/s |
135 | ipv4.udplite | received, sent | packets/s |
136 | ipv4.udplite_errors | RcvbufErrors, SndbufErrors, InErrors, NoPorts, InCsumErrors, IgnoredMulti | packets/s |
137 | ipv4.ecnpkts | CEP, NoECTP, ECTP0, ECTP1 | packets/s |
138 | ipv4.fragsin | ok, failed, all | packets/s |
139 | ipv4.fragsout | ok, failed, created | packets/s |
140 | system.ipv6 | received, sent | kilobits/s |
141 | ipv6.packets | received, sent, forwarded, delivers | packets/s |
142 | ipv6.errors | InDiscards, OutDiscards, InHdrErrors, InAddrErrors, InUnknownProtos, InTooBigErrors, InTruncatedPkts, InNoRoutes, OutNoRoutes | packets/s |
143 | ipv6.bcast | received, sent | kilobits/s |
144 | ipv6.mcast | received, sent | kilobits/s |
145 | ipv6.mcastpkts | received, sent | packets/s |
146 | ipv6.udppackets | received, sent | packets/s |
147 | ipv6.udperrors | RcvbufErrors, SndbufErrors, InErrors, NoPorts, InCsumErrors, IgnoredMulti | events/s |
148 | ipv6.udplitepackets | received, sent | packets/s |
149 | ipv6.udpliteerrors | RcvbufErrors, SndbufErrors, InErrors, NoPorts, InCsumErrors | events/s |
150 | ipv6.icmp | received, sent | messages/s |
151 | ipv6.icmpredir | received, sent | redirects/s |
152 | ipv6.icmperrors | InErrors, OutErrors, InCsumErrors, InDestUnreachs, InPktTooBigs, InTimeExcds, InParmProblems, OutDestUnreachs, OutPktTooBigs, OutTimeExcds, OutParmProblems | errors/s |
153 | ipv6.icmpechos | InEchos, OutEchos, InEchoReplies, OutEchoReplies | messages/s |
154 | ipv6.groupmemb | InQueries, OutQueries, InResponses, OutResponses, InReductions, OutReductions | messages/s |
155 | ipv6.icmprouter | InSolicits, OutSolicits, InAdvertisements, OutAdvertisements | messages/s |
156 | ipv6.icmpneighbor | InSolicits, OutSolicits, InAdvertisements, OutAdvertisements | messages/s |
157 | ipv6.icmpmldv2 | received, sent | reports/s |
158 | ipv6.icmptypes | InType1, InType128, InType129, InType136, OutType1, OutType128, OutType129, OutType133, OutType135, OutType143 | messages/s |
159 | ipv6.ect | InNoECTPkts, InECT1Pkts, InECT0Pkts, InCEPkts | packets/s |
160 | ipv6.fragsin | ok, failed, timeout, all | packets/s |
161 | ipv6.fragsout | ok, failed, all | packets/s |
162
163