Traffic Watch: monitoring from inside your network
Live traffic, network and service monitoring, route traces and alerts, running on your own machines. Use it in TekWorks Central, or headless on a server from the command line.
For Linux, Windows and macOS. Linux is where it is tested so far.
Know what is up, and what is slowing down
Monitor hosts and services, programs and network interfaces. A network check can be a ping, ARP, a TCP or UDP port, or a full protocol exchange, with its own interval, timeout, failure count and degraded threshold.
- Up, degraded, down or paused at a glance
- Uptime over 24 hours and recent latency in the list
- Create a monitor from any host, process or interface you see
See who is using the network
Download and upload rates and connections by host, by program and by interface, with filters, sorting, your choice of columns and CSV export. Track the rows you care about to keep their history.
Find the hop that is the problem
MTR style traces over ICMP, UDP or TCP show loss and latency for every hop. Run one by hand, or on a schedule for a monitor and compare how the route looked earlier.
Check the service, not only the port
More than 100 built-in checks speak the protocol: web and TLS certificates, DNS and NTP, mail, remote access, file services, directories, databases, message brokers, management, voice and VPN, and industrial protocols.
- Write your own: send, expect, delay and start TLS
- Capture bytes from a reply and send them back
- Test a check and see each step before saving it
Tell the right people
Alert on a state, on a metric crossing a threshold or on missing data, with severity, cooldown, repeats, quiet hours and a note on recovery.
- Desktop, email (SMTP) and webhooks
- Slack, Microsoft Teams, Discord, Google Chat, Mattermost and Telegram
- PagerDuty, Opsgenie, ntfy, Gotify, Pushover and Twilio
Every layer you need
Layer 2, 3 and 4 checks from a chosen interface. Latency, resolve, connect, TLS and first byte times, jitter, loss and certificate days left.
History on your machine
Every result is recorded locally. By default 30 days in full and a year of five minute summaries, both adjustable.
Secrets stay put
Passwords and community strings are stored by the engine on your computer, never synced or shown again, and left out of exports.
Move your setup
Export monitors, checks and alert rules from one install and import them into another, in the app or on a server.
Runs without the window
Let it keep monitoring in the background when the app is closed. Off until you turn it on.
Open source
Apache 2.0. The app part runs a program on your computer, outside the sandbox, and says so before you install it.
Watched from outside, too
TekWorks servers will be able to run a network check from the internet, whether or not your computer is on. Your account sets how many monitors you have, and premium allows more.
- State, latency and loss graphs in the tool
- Public addresses only, with a shortest interval set by your account
- The target, the check and its non-secret parameters are sent to TekWorks
Separately, and only if you agree, chosen local monitors and their results can sync to your account. Live traffic, hosts, processes and passwords are never sent.
Two points of view
A check from inside your network tells you the service answers your own machines. A hosted check tells you it can be reached from the internet. Only hosted checks need you to sign in to TekWorks Central; monitoring from your own machines needs no account.
A command line for your servers
traffic-watch does everything the engine does, with no
account and no app. It runs as a systemd service for one user or the whole machine, a launchd service
on macOS or a sign-in task on Windows.
- JSON output on every command that prints
- Exit code 3 when a checked target is down, for scripts and CI
- Install scripts and the update command check downloads against the release's checksums, and never downgrade unasked
- The system service gets a single capability, CAP_NET_RAW
Install
# Linux and macOS
curl -fsSL https://github.com/tek-works/traffic-watch/releases/latest/download/install.sh | sh
# Windows (PowerShell)
irm https://github.com/tek-works/traffic-watch/releases/latest/download/install.ps1 | iex Use
# Check something once
traffic-watch probe example.com --sequence tls-certificate
traffic-watch mtr example.com
# Run it in the background (systemd on Linux)
traffic-watch service install
# Monitor, and be told when it fails
traffic-watch monitor add example.com --sequence https --every 60
traffic-watch alert rule add --name "Anything down" --down --for 60
traffic-watch monitor list
# Who is using the network, live
traffic-watch top --by processes Add it from the app
In TekWorks Central 0.2.0 or newer, open Discover, choose Traffic Watch under Tools and approve what it asks for. Counting traffic by host and by program needs packet capture, which the app can set up when you ask (on Windows it uses Npcap).
Some checks need extra rights or are not available on every system (ARP, Ethernet loopback and some route traces). The library also includes queries for common game servers.