tcpmon

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 3 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
tcpmon

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL