A simple TCP monitor for Linux.
# build the RPM
make package
# install
rpm -Uvh tcpmon-<version>.el7.x86_64.rpm
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.
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-linux
MIT