Project

General

Profile

Actions

Task #6258

closed

Expose IPv6 vs. IPv4 statistics publicly

Added by Nico Schottelius about 6 years ago. Updated 12 months ago.

Status:
Rejected
Priority:
Normal
Target version:
-
Start date:
12/23/2018
Due date:
% Done:

0%

Estimated time:
PM Check date:

Description

We want to have a public website showing the amount of IPv6 vs IPv4 traffic. We should probably do a case distinction on

  • internal traffic
    • all servers
  • external traffic
    • routers only

I had a look at prometheus, but the node_exporter currently seems only to export infos from netstat -s, which lacks IPv6 support.
Correct metrics can be found in snmp* files as seen below. Discussing w/ prometheus developers now how to proceed.

root@line:/home/nico/Downloads# cat /proc/net/snmp
snmp   snmp6  
root@line:/home/nico/Downloads# cat /proc/net/snmp
Ip: Forwarding DefaultTTL InReceives InHdrErrors InAddrErrors ForwDatagrams InUnknownProtos InDiscards InDelivers OutRequests OutDiscards OutNoRoutes ReasmTimeout ReasmReqds ReasmOKs ReasmFails FragOKs FragFails FragCreates
Ip: 2 64 5097837 0 862 0 0 0 5096971 4975364 0 49280 4 4 0 4 0 0 0
Icmp: InMsgs InErrors InCsumErrors InDestUnreachs InTimeExcds InParmProbs InSrcQuenchs InRedirects InEchos InEchoReps InTimestamps InTimestampReps InAddrMasks InAddrMaskReps OutMsgs OutErrors OutDestUnreachs OutTimeExcds OutParmProbs OutSrcQuenchs OutRedirects OutEchos OutEchoReps OutTimestamps OutTimestampReps OutAddrMasks OutAddrMaskReps
Icmp: 1639 407 0 1638 0 0 0 0 0 1 0 0 0 0 1322 0 1321 0 0 0 0 1 0 0 0 0 0
IcmpMsg: InType0 InType3 OutType3 OutType8
IcmpMsg: 1 1638 1321 1
Tcp: RtoAlgorithm RtoMin RtoMax MaxConn ActiveOpens PassiveOpens AttemptFails EstabResets CurrEstab InSegs OutSegs RetransSegs InErrs OutRsts InCsumErrors
Tcp: 1 200 120000 -1 1713426 4715 1668876 7980 84 12734562 11037955 33585 2204 1690684 221
Udp: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors InCsumErrors IgnoredMulti
Udp: 155859 340 0 125558 0 0 0 37538
UdpLite: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors InCsumErrors IgnoredMulti
UdpLite: 0 0 0 0 0 0 0 0
root@line:/home/nico/Downloads# cat /proc/net/snmp6 
Ip6InReceives                       7926836
Ip6InHdrErrors                      0
Ip6InTooBigErrors                   0
Ip6InNoRoutes                       4
Ip6InAddrErrors                     963
Ip6InUnknownProtos                  0
Ip6InTruncatedPkts                  0
Ip6InDiscards                       0
Ip6InDelivers                       7921205
Ip6OutForwDatagrams                 0
Ip6OutRequests                      6139197
Ip6OutDiscards                      387
Ip6OutNoRoutes                      6755
Ip6ReasmTimeout                     0
Ip6ReasmReqds                       0
Ip6ReasmOKs                         0
Ip6ReasmFails                       0
Ip6FragOKs                          0
Ip6FragFails                        3
Ip6FragCreates                      0
Ip6InMcastPkts                      51500
Ip6OutMcastPkts                     7856
Ip6InOctets                         13991914365
Ip6OutOctets                        841522562
Ip6InMcastOctets                    7920405
Ip6OutMcastOctets                   776671
Ip6InBcastOctets                    0
Ip6OutBcastOctets                   0
Ip6InNoECTPkts                      13414048
Ip6InECT1Pkts                       132
Ip6InECT0Pkts                       511
Ip6InCEPkts                         204
Icmp6InMsgs                         66324
Icmp6InErrors                       504
Icmp6OutMsgs                        40606
Icmp6OutErrors                      0
Icmp6InCsumErrors                   0
Icmp6InDestUnreachs                 1946
Icmp6InPktTooBigs                   0
Icmp6InTimeExcds                    250
Icmp6InParmProblems                 0
Icmp6InEchos                        0
Icmp6InEchoReplies                  25105
Icmp6InGroupMembQueries             6
Icmp6InGroupMembResponses           39
Icmp6InGroupMembReductions          0
Icmp6InRouterSolicits               0
Icmp6InRouterAdvertisements         24655
Icmp6InNeighborSolicits             7597
Icmp6InNeighborAdvertisements       6726
Icmp6InRedirects                    0
Icmp6InMLDv2Reports                 0
Icmp6OutDestUnreachs                3287
Icmp6OutPktTooBigs                  0
Icmp6OutTimeExcds                   0
Icmp6OutParmProblems                0
Icmp6OutEchos                       27311
Icmp6OutEchoReplies                 0
Icmp6OutGroupMembQueries            0
Icmp6OutGroupMembResponses          2
Icmp6OutGroupMembReductions         0
Icmp6OutRouterSolicits              1026
Icmp6OutRouterAdvertisements        0
Icmp6OutNeighborSolicits            208
Icmp6OutNeighborAdvertisements      7549
Icmp6OutRedirects                   0
Icmp6OutMLDv2Reports                1223
Icmp6InType1                        1946
Icmp6InType3                        250
Icmp6InType129                      25105
Icmp6InType130                      6
Icmp6InType131                      39
Icmp6InType134                      24655
Icmp6InType135                      7597
Icmp6InType136                      6726
Icmp6OutType1                       3287
Icmp6OutType128                     27311
Icmp6OutType131                     2
Icmp6OutType133                     1026
Icmp6OutType135                     208
Icmp6OutType136                     7549
Icmp6OutType143                     1223
Udp6InDatagrams                     80300
Udp6NoPorts                         57
Udp6InErrors                        0
Udp6OutDatagrams                    41373
Udp6RcvbufErrors                    0
Udp6SndbufErrors                    0
Udp6InCsumErrors                    0
Udp6IgnoredMulti                    27
UdpLite6InDatagrams                 0
UdpLite6NoPorts                     0
UdpLite6InErrors                    0
UdpLite6OutDatagrams                0
UdpLite6RcvbufErrors                0
UdpLite6SndbufErrors                0
UdpLite6InCsumErrors                0
root@line:/home/nico/Downloads# cat /proc/net/snmp6 
Actions #1

Updated by Nico Schottelius 12 months ago

  • Status changed from In Progress to Rejected
Actions

Also available in: Atom PDF