Ipv4 metrics not in influxdb but ipv6 shows even though disabled on host

I’m running netdata in docker and the host has ipv6 disabled, but netda shows ipv6 traffic and NO ipv4 traffic
the running netdata.conf shows:

section ‘system.ipv4’ is not used.

/ # cat /proc/net/netstat
TcpExt: SyncookiesSent SyncookiesRecv SyncookiesFailed EmbryonicRsts PruneCalled RcvPruned OfoPruned OutOf
WindowIcmps LockDroppedIcmps ArpFilter TW TWRecycled TWKilled PAWSPassive PAWSActive PAWSEstab DelayedACKs
DelayedACKLocked DelayedACKLost ListenOverflows ListenDrops TCPPrequeued TCPDirectCopyFromBacklog TCPDire
ctCopyFromPrequeue TCPPrequeueDropped TCPHPHits TCPHPHitsToUser TCPPureAcks TCPHPAcks TCPRenoRecovery TCPS
ackRecovery TCPSACKReneging TCPFACKReorder TCPSACKReorder TCPRenoReorder TCPTSReorder TCPFullUndo TCPParti
alUndo TCPDSACKUndo TCPLossUndo TCPLostRetransmit TCPRenoFailures TCPSackFailures TCPLossFailures TCPFastR
etrans TCPForwardRetrans TCPSlowStartRetrans TCPTimeouts TCPLossProbes TCPLossProbeRecovery TCPRenoRecover
yFail TCPSackRecoveryFail TCPSchedulerFailed TCPRcvCollapsed TCPDSACKOldSent TCPDSACKOfoSent TCPDSACKRecv
TCPDSACKOfoRecv TCPAbortOnData TCPAbortOnClose TCPAbortOnMemory TCPAbortOnTimeout TCPAbortOnLinger TCPAbor
tFailed TCPMemoryPressures TCPSACKDiscard TCPDSACKIgnoredOld TCPDSACKIgnoredNoUndo TCPSpuriousRTOs TCPMD5N
otFound TCPMD5Unexpected TCPSackShifted TCPSackMerged TCPSackShiftFallback TCPBacklogDrop TCPMinTTLDrop TC
PDeferAcceptDrop IPReversePathFilter TCPTimeWaitOverflow TCPReqQFullDoCookies TCPReqQFullDrop TCPRetransFa
il TCPRcvCoalesce TCPOFOQueue TCPOFODrop TCPOFOMerge TCPChallengeACK TCPSYNChallenge TCPFastOpenActive TCP
FastOpenActiveFail TCPFastOpenPassive TCPFastOpenPassiveFail TCPFastOpenListenOverflow TCPFastOpenCookieRe
qd TCPSpuriousRtxHostQueues BusyPollRxPackets TCPAutoCorking TCPFromZeroWindowAdv TCPToZeroWindowAdv TCPWa
ntZeroWindowAdv TCPSynRetrans TCPOrigDataSent TCPHystartTrainDetect TCPHystartTrainCwnd TCPHystartDelayDet
ect TCPHystartDelayCwnd TCPACKSkippedSynRecv TCPACKSkippedPAWS TCPACKSkippedSeq TCPACKSkippedFinWait2 TCPA
CKSkippedTimeWait TCPACKSkippedChallenge TCPWinProbe TCPKeepAlive TCPMTUPFail TCPMTUPSuccess
TcpExt: 0 0 0 1220 0 0 0 16 0 0 1313721 0 0 0 0 0 298790 138 476 66144 66146 914688 78776 133495724 0 2088
6365 717650 6626467 5113909 0 112 0 3 5 0 3 30 23 34 256 1 0 0 0 440 30 394 32071 2103 6 0 0 18 0 483 1 16
37 0 34655 172 0 256 0 0 0 18 1 219 0 0 0 6935 1089 3467 1 0 0 0 0 0 0 1 222869 1047 0 1 198 73 0 0 0 0 0
0 4562 0 408091 43 43 37 30787 17705661 716 15724 6 626 34 0 18 0 0 0 2178 17254 0 0
IpExt: InNoRoutes InTruncatedPkts InMcastPkts OutMcastPkts InBcastPkts OutBcastPkts InOctets OutOctets InM
castOctets OutMcastOctets InBcastOctets OutBcastOctets InCsumErrors InNoECTPkts InECT1Pkts InECT0Pkts InCE
Pkts
IpExt: 0 0 345709 361452 244683 168275 379746008700 623304966014 99712738 92675284 14503878 [8998596](https://github.com/netdata/netdata/commit/8998596efcfbb94d8b1e38c164616ed96686aeb6) 0 3159
41817 0 15958 0

i cannot understand why ipv4 traffic isn’t shown and ipv6 is…

Please run grep /proc/net/netstat /var/log/netdata/error.log. Are there any errors in the log?

no, nothing in error.log found

Please make a screenshot of the System Overview -> network section and show the contents of /host/proc/net/netstat inside the container. BTW, there is no chart system.ipv4, there is system.ip.

Thanks @vlvkobal for chiming in and welcome @mamema to our community!

I have moved this topic to the #support:agent-support category.

Cheers everyone :slight_smile:

my netstat info is in the first post. So, do i understand correctly, that ipv4 is referenced as ip as in contrary to ipv6 which is referenced as ipv6.
So, i’ve digged into it and found metrics in influxdb
they differ slightly:
ip(v4) has for example ip.bcast.received
where as
ip(v6) has ipv6.mcast

but ipv6 metrics are nowhere referenced with bcast.

So, i assume it’s more a reference mapping error on my side.
Is it somewhere referenced which is which in ipv4 and ipv6?

You can easily check what module collects data in the Netdata dashboard. Just hover you mouse over the date under any chart
image
You will see a pop-up with plugin:module information. Modules are named after files they are read from. IPv4 metrics are read from /proc/net/netstat and /proc/net/sockstat, IPv6 from /proc/net/snmp6 and /proc/net/sockstat6.