Skip to content

zperf/tcpmon

Repository files navigation

tcpmon

A simple TCP monitor for Linux.

Installation

# build the RPM
make package

# install
rpm -Uvh tcpmon-<version>.el7.x86_64.rpm

Getting started

Start collecting monitoring data:

tcpmon start

Collection metrics snapshot:

curl -JfSsLO http://127.0.0.1:6789/backup

Export metrics in line protocol:

tcpmon export -o metrics.txt <backup-dir>

Then import metrics.txt in InfluxDB and find out what is going wrong.

Configuration

Config file located at $HOME/.tcpmon/config.yaml (Development) or /etc/tcpmon/config.yaml (Production)

Development

# build a binary
make

# build binary for Linux
make build-linux

License

MIT