- Add python/tests/test_ntopng_sdk.py with 86 unit tests covering:
- Ntopng: constructor (auth_token / user+pass), request/post_request wrappers,
all getter methods, debug flag, URL building
- Interface: all data, alert, flow, L7/L4 and host methods
- Host: get_host_data, get_l7_stats, get_dscp_stats (both directions), VLAN handling
- Historical: all alert family delegates, timeseries, flows, conversations
- Fix bug in historical.py get_host_top_protocols(): self.ifid (int) was
concatenated with strings without str() conversion, causing TypeError at runtime
- Add scripts/lua/modules/timeseries/tests/ts_common_test.lua with 11 test cases:
- upsampleSerie: no-op when target <= source length, empty serie
- calculateMinMax: basic, single element, NaN-skipping
- calculateStatistics: counter (total*step), gauge+keep_total, gauge no-total, NaN-skipping
- ninetififthPercentile: single element, all-NaN
- Register ts_common_test in the Lua test runner (run.lua)
Agent-Logs-Url: https://github.com/ntop/ntopng/sessions/32da23c3-306c-4100-9bbe-64b91191653b
Co-authored-by: lucaderi <4493366+lucaderi@users.noreply.github.com>
|
||
|---|---|---|
| .github | ||
| assets | ||
| attic | ||
| clickhouse | ||
| contrib | ||
| doc | ||
| docker | ||
| fuzz | ||
| grafana | ||
| hooks | ||
| http_src | ||
| httpdocs | ||
| include | ||
| kibana | ||
| m4 | ||
| packages | ||
| python | ||
| scripts | ||
| src | ||
| tests | ||
| third-party | ||
| tools | ||
| .clang-format | ||
| .eslintrc.json | ||
| .git-blame-ignore-revs | ||
| .gitignore | ||
| .gitmodules | ||
| .stylelintrc | ||
| autogen.sh | ||
| build.mjs | ||
| CHANGELOG.md | ||
| CLAUDE.md | ||
| config.guess | ||
| configure.ac.in | ||
| CONTRIBUTING.md | ||
| COPYING | ||
| create_dist.sh | ||
| LICENSE | ||
| Makefile.in | ||
| ntopng.8 | ||
| package.json | ||
| README.md | ||
| skill_creator.md | ||
| sonar-project.properties | ||
| test_llm.md | ||
| vite.ntopng.config.js | ||
ntopng
Introduction
ntopng® is a web-based network traffic monitoring application released under GPLv3. It is the new incarnation of the original ntop written in 1998, and now revamped in terms of performance, usability, and features.
While you can read more about ntopng on the ntop web site (http://www.ntop.org), we suggest you to start reading the doc/README.md file for learning how to compile and use ntopng.
If instead of source code you prefer to use a pre-built package, please go to http://packages.ntop.org
We build binary packages for the following platforms:
- Debian/Ubuntu LTS x64
- CentOS/RedHat/RockyLinux/AlmaLinux Linux x64
- Windows x64
- RaspberryPI/Debian ARM
- FreeBSD/OPNsense/pfSense
Enjoy.
Documentation
If you want to learn more about ntopng please visit the User's Guide and the API Documentation or watch our latest webinar.
Details
For more information about ntopng, please visit http://ntop.org
ntopng is a registered trademark in the US and EU.