A simple TCP monitor for Linux.
# build the RPM
make package
# install
rpm -Uvh tcpmon-<version>.el7.x86_64.rpmStart collecting monitoring data:
tcpmon startCollection metrics snapshot:
curl -JfSsLO http://127.0.0.1:6789/backupExport metrics in line protocol:
tcpmon export -o metrics.txt <backup-dir>Then import metrics.txt in InfluxDB and find out what is going wrong.
Config file located at $HOME/.tcpmon/config.yaml (Development) or /etc/tcpmon/config.yaml (Production)
# build a binary
make
# build binary for Linux
make build-linuxMIT