Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_options:opt_statistics:statistics_troubleshooting:start [2023/08/30 08:50] – elena.krasnobryzh | en:dpi:dpi_options:opt_statistics:statistics_troubleshooting:start [2024/07/29 12:50] (current) – removed elena.krasnobryzh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Troubleshooting ====== | ||
- | {{indexmenu_n> | ||
- | ==== Flow sending is configured today, but an issue emerges - not all the information are transmitted. How to fix the problem? ==== | ||
- | Netflow v5 protocol doesn' | ||
- | |||
- | Make sure of the following: | ||
- | - there are no network losses between the VAS Experts DPI and the collector. For example, is the traffic from the control channel to the collector exposed to the shaping? Are there any limitations applied to the interfaces below the netflow rate of the VAS Experts DPI Netflow? | ||
- | - the collector is able to receive data at the VAS Experts data rate. Use the '' | ||
- | |||
- | Losses on the collector can be checked by the command | ||
- | |||
- | < | ||
- | grep " | ||
- | </ | ||
- | |||
- | Nonzero values in the output means the existence of the losses | ||
- | |||
- | You can get rid of losses: | ||
- | - [[en: | ||
- | - [[en: | ||
- | - by installing nfsen on the more powerfull PC, and by abandoning of virtualization | ||
- | - by transition to tcp version of IPFIX protocol (Netflow) | ||
- | |||
- | In statistics log // | ||
- | |||
- | <code bash> | ||
- | NFLW_Full_IPv4{3948181/ | ||
- | First 3 digits - {0/ | ||
- | NFLW_Full_IPv4{3948181/ | ||
- | {3948181/ | ||
- | {3111140/ | ||
- | {7760/ | ||
- | |||
- | The same works for Ipv6, but the name is NFLW_Full_IPv6. | ||
- | |||
- | ==== We have an experiment with the netflow_timeout option. With the netflow_timeout = 1 no data loss. ==== | ||
- | It means that the losses occurs on the collector, | ||
- | |||
- | More detail: What the option '' | ||
- | |||
- | Let's start data transmittion at the t1 moment, specify the time t2 of the next transmittion. | ||
- | We'll send statistics changes, if necessary: | ||
- | - by ports | ||
- | - by AS | ||
- | - by billing | ||
- | - by sessions. Statistic changes by sessions are send taking into account the active и passiv timeout options. | ||
- | |||
- | Further, the following is supposed to happen: | ||
- | Losses can be revealed on the collector only through the sequence value contained in in the header. | ||
- | If there' | ||
- | We have the case when changes of sessions is less for 1 second than for 10 seconds. | ||
- | Therefore, the collector can not cope. | ||
- | Let all the packets from the VAS Experts DPI reach the collector, which can handle only, for example, 10 MB. | ||
- | As a result, the socket receive buffer will be overflowed, and the input packets will be simply discarded. | ||
- | |||
- | **Attention: | ||
- | |||
- | We suggest alternatively to check: netflow_timeout set to 10 and the transfer rate: '' | ||
- | |||
- | ==== How to generate a time report in format suitable for opening in Excel? ==== | ||
- | The easiest way is to extract the data specifying required columns width, i.e. | ||
- | nfdump -R / | ||
- | so the result is loaded into Excel | ||
- | |||
- | similarly for autonomous systems | ||
- | nfdump -R / | ||
- | |||
- | TOP 50 of protocols: | ||
- | nfdump -R / | ||
- | |||
- | TOP 50 of autonomous systems: | ||
- | nfdump -R / | ||
- | |||
- | **Attention: | ||
- | When using the summation feature to get TOP results:\\ | ||
- | -s dpipr/bytes | ||
- | |||
- | -o option doesn' | ||
- | -o fmt:" | ||