ntop / ntop/nProbe

Nprobe Collector Mode | OUT_BYTES and OUT_PKTS showing all zeros from all netflow exporter V5,V9,Sflow

Open
#448 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
1.8k
Forks
51
PR merge metrics
No merged PRs in 30d

Description

i am using below mentioned command to run Nprobe in collector mode . all flows and its fields are received and store in Mysql db except Out_bytes and Out_Packets .

nprobe command

nprobe -i none -n none --collector-port 2055 -T "@NTOPNG@" --mysql="localhost:ntopng:usman:root:Cloud009.com"

mySQL result

22/Oct/2020 20:28:30 [database.c:339] [IN_BYTES][3000][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [IN_PKTS][10][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [PROTOCOL][6][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [L4_SRC_PORT][55003][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [IPV4_SRC_ADDR][3232235853][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [INPUT_SNMP][1][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [L4_DST_PORT][443][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [IPV4_DST_ADDR][3232235991][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [OUTPUT_SNMP][4][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [LAST_SWITCHED][1603380506][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [FIRST_SWITCHED][1603380506][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [OUT_BYTES][0][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [OUT_PKTS][0][variable length=No]

22/Oct/2020 20:28:30 [database.c:339] [SRC_VLAN][0][variable length=No]
22/Oct/2020 20:28:30 [database.c:440] [IN_SRC_MAC]['000000000000'][len=6][variable length=No]
22/Oct/2020 20:28:30 [database.c:440] [OUT_DST_MAC]['000000000000'][len=6][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [IP_PROTOCOL_VERSION][4][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [CLIENT_TCP_FLAGS][0][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [SERVER_TCP_FLAGS][0][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [L7_PROTO][91][variable length=No]
22/Oct/2020 20:28:30 [database.c:339] [L7_PROTO_RISK][0][variable length=No]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the collector-mode command with the listed NetFlow V5, V9, or sFlow exporters and inspect the MySQL output for OUT_BYTES and OUT_PKTS. Compare those fields with IN_BYTES and IN_PKTS in the provided database log; done means the outgoing fields are stored with the exporter-provided values instead of zero.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql
Domain
databases, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.