@cryptotaxi247 / netdata-1 / commits / 401174e47

add proc_net_snmp charts info (#11557)

Ilya Mashchenko committed Sep 23, 2021 at 13:35 UTC 401174e4798c8929c1183004de197f5fa1ff0bf6
1 file changed +112 -1
web/gui/dashboard_info.js
+112 -1
@@ -1452,8 +1452,119 @@ netdataDashboard.context = {
1452 // ------------------------------------------------------------------------
1453 // IPv4
1454
1455 + 'ipv4.packets': {
1456 + info: '<p>IPv4 packets statistics for this host.</p>'+
1457 + '<p><b>Received</b> - packets received by the IP layer. '+
1458 + 'This counter will be increased even if the packet is dropped later. '+
1459 + '<b>Sent</b> - packets sent via IP layer, for both single cast and multicast packets. '+
1460 + 'This counter does not include any packets counted in <b>Forwarded</b>. '+
1461 + '<b>Forwarded</b> - input packets for which this host was not their final IP destination, '+
1462 + 'as a result of which an attempt was made to find a route to forward them to that final destination. '+
1463 + 'In hosts which do not act as IP Gateways, this counter will include only those packets which were '+
1464 + '<a href="https://en.wikipedia.org/wiki/Source_routing" target="_blank">Source-Routed</a>, '+
1465 + 'and the Source-Route option processing was successful. '+
1466 + '<b>Delivered</b> - packets delivered to the upper layer protocols, e.g. TCP, UDP, ICMP, and so on.</p>'
1467 + },
1468 +
1469 + 'ipv4.fragsout': {
1470 + info: '<p><a href="https://en.wikipedia.org/wiki/IPv4#Fragmentation" target="_blank">IPv4 fragmentation</a> '+
1471 + 'statistics for this system.</p>'+
1472 + '<p><b>OK</b> - packets that have been successfully fragmented. '+
1473 + '<b>Failed</b> - packets that have been discarded because they needed to be fragmented '+
1474 + 'but could not be, e.g. due to <i>Don\'t Fragment</i> (DF) flag was set. '+
1475 + '<b>Created</b> - fragments that have been generated as a result of fragmentation.</p>'
1476 + },
1477 +
1478 + 'ipv4.fragsin': {
1479 + info: '<p><a href="https://en.wikipedia.org/wiki/IPv4#Reassembly" target="_blank">IPv4 reassembly</a> '+
1480 + 'statistics for this system.</p>'+
1481 + '<p><b>OK</b> - packets that have been successfully reassembled. '+
1482 + '<b>Failed</b> - failures detected by the IP reassembly algorithm. '+
1483 + 'This is not necessarily a count of discarded IP fragments since some algorithms '+
1484 + 'can lose track of the number of fragments by combining them as they are received. '+
1485 + '<b>All</b> - received IP fragments which needed to be reassembled.</p>'
1486 + },
1487 +
1488 + 'ipv4.errors': {
1489 + info: '<p>The number of discarded IPv4 packets.</p>'+
1490 + '<p><b>InDiscards</b>, <b>OutDiscards</b> - inbound and outbound packets which were chosen '+
1491 + 'to be discarded even though no errors had been '+
1492 + 'detected to prevent their being deliverable to a higher-layer protocol. '+
1493 + '<b>InHdrErrors</b> - input packets that have been discarded due to errors in their IP headers, including '+
1494 + 'bad checksums, version number mismatch, other format errors, time-to-live exceeded, '+
1495 + 'errors discovered in processing their IP options, etc. '+
1496 + '<b>OutNoRoutes</b> - packets that have been discarded because no route could be found '+
1497 + 'to transmit them to their destination. This includes any packets which a host cannot route '+
1498 + 'because all of its default gateways are down. '+
1499 + '<b>InAddrErrors</b> - input packets that have been discarded due to invalid IP address or '+
1500 + 'the destination IP address is not a local address and IP forwarding is not enabled. '+
1501 + '<b>InUnknownProtos</b> - input packets which were discarded because of an unknown or unsupported protocol.</p>'
1502 + },
1503 +
1504 + 'ipv4.icmp': {
1505 + info: '<p>The number of transferred IPv4 ICMP messages.</p>'+
1506 + '<p><b>Received</b>, <b>Sent</b> - ICMP messages which the host received and attempted to send. '+
1507 + 'Both these counters include errors.</p>'
1508 + },
1509 +
1510 + 'ipv4.icmp_errors': {
1511 + info: '<p>The number of IPv4 ICMP errors.</p>'+
1512 + '<p><b>InErrors</b> - received ICMP messages but determined as having ICMP-specific errors, '+
1513 + 'e.g. bad ICMP checksums, bad length, etc. '+
1514 + '<b>OutErrors</b> - ICMP messages which this host did not send due to '+
1515 + 'problems discovered within ICMP such as a lack of buffers. '+
1516 + 'This counter does not include errors discovered outside the ICMP layer '+
1517 + 'such as the inability of IP to route the resultant datagram. '+
1518 + '<b>InCsumErrors</b> - received ICMP messages with bad checksum.</p>'
1519 + },
1520 +
1521 + 'ipv4.icmpmsg': {
1522 + info: 'The number of transferred '+
1523 + '<a href="https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml" target="_blank">IPv4 ICMP control messages</a>.'
1524 + },
1525 +
1526 + 'ipv4.udppackets': {
1527 + info: 'The number of transferred UDP packets.'
1528 + },
1529 +
1530 + 'ipv4.udperrors': {
1531 + info: '<p>The number of errors encountered during transferring UDP packets.</p>'+
1532 + '<b>RcvbufErrors</b> - receive buffer is full. '+
1533 + '<b>SndbufErrors</b> - send buffer is full, no kernel memory available, or '+
1534 + 'the IP layer reported an error when trying to send the packet and no error queue has been setup. '+
1535 + '<b>InErrors</b> - that is an aggregated counter for all errors, excluding <b>NoPorts</b>. '+
1536 + '<b>NoPorts</b> - no application is listening at the destination port. '+
1537 + '<b>InCsumErrors</b> - a UDP checksum failure is detected. '+
1538 + '<b>IgnoredMulti</b> - ignored multicast packets.'
1539 + },
1540 +
1541 + 'ipv4.udplite': {
1542 + info: 'The number of transferred UDP-Lite packets.'
1543 + },
1544 +
1545 + 'ipv4.udplite_errors': {
1546 + info: '<p>The number of errors encountered during transferring UDP-Lite packets.</p>'+
1547 + '<b>RcvbufErrors</b> - receive buffer is full. '+
1548 + '<b>SndbufErrors</b> - send buffer is full, no kernel memory available, or '+
1549 + 'the IP layer reported an error when trying to send the packet and no error queue has been setup. '+
1550 + '<b>InErrors</b> - that is an aggregated counter for all errors, excluding <b>NoPorts</b>. '+
1551 + '<b>NoPorts</b> - no application is listening at the destination port. '+
1552 + '<b>InCsumErrors</b> - a UDP checksum failure is detected. '+
1553 + '<b>IgnoredMulti</b> - ignored multicast packets.'
1554 + },
1555 +
1556 + 'ipv4.tcppackets': {
1557 + info: '<p>The number of packets transferred by the TCP layer.</p>'+
1558 + '</p><b>Received</b> - received packets, including those received in error, '+
1559 + 'such as checksum error, invalid TCP header, and so on. '+
1560 + '<b>Sent</b> - sent packets, excluding the retransmitted packets. '+
1561 + 'But it includes the SYN, ACK, and RST packets.</p>'
1562 + },
1563 +
1564 'ipv4.tcpsock': {
1456 - info: 'The number of established TCP connections (known as <code>CurrEstab</code>). This is a snapshot of the established connections at the time of measurement (i.e. a connection established and a connection disconnected within the same iteration will not affect this metric).'
1565 + info: 'The number of TCP connections for which the current state is either ESTABLISHED or CLOSE-WAIT. '+
1566 + 'This is a snapshot of the established connections at the time of measurement '+
1567 + '(i.e. a connection established and a connection disconnected within the same iteration will not affect this metric).'
1568 },
1569
1570 'ipv4.tcpopens': {