Install Network Tool.
One Linux server, Java 21 and PostgreSQL, or Docker. This page lists every command and port.
What you need
| Server | Linux, physical or virtual |
|---|---|
| Runtime | Java 21 (JRE), or Docker |
| Database | PostgreSQL (included in the Docker Compose file) |
| Packages | iputils-ping, libpcap0.8, traceroute |
| Privileges | Packet capture needs root or CAP_NET_RAW; udp/514 and udp/162 need root or CAP_NET_BIND_SERVICE |
Run it
Ports
| 8080/tcp | Web interface, REST API and live WebSocket |
|---|---|
| 514/udp | Syslog receiver |
| 162/udp | SNMP trap and inform receiver |
| 2055/udp | NetFlow v5 / v9 / IPFIX collector |
| 6343/udp | sFlow v5 collector |
Configuration
Every setting is a nettool.* key. Override it with -Dkey=value, with an environment variable such as NETTOOL_SYSLOG_PORT=5514, or with a properties file. Most collectors and thresholds can also be changed on the Management page, and the change applies at once.
NETTOOL_DB_URL=jdbc:postgresql://127.0.0.1:5432/network_tool
NETTOOL_DB_USERNAME=nettool
NETTOOL_DB_PASSWORD=********Point your devices at it
On a Cisco IOS device, these lines send SNMP traps, syslog and NetFlow to the server. Other vendors have the same three settings under their own names.
Watching Kubernetes nodes as well? The agent has its own short guide. Kubernetes agent
snmp-server community public RO
snmp-server host <server> version 2c public
snmp-server enable traps
logging host <server>
ip flow-export version 9
ip flow-export destination <server> 2055
! and on each interface:
ip flow ingressSee it on a network like yours.
We will show you Network Tool live and answer questions about your setup.
Book a live demo