Collect TCP connection metrics for the snap telemetry framework
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples/tasks
netstat
scripts
.travis.yml
LICENSE
METRICS.md
Makefile
README.md
glide.lock
glide.yaml
main.go

README.md

snap collector plugin - netstat

This plugin collects metrics from /proc/net to collect the number of TCP connections active on the host.

Build Status

Getting Started

System Requirements

Operating systems

All OSs currently supported by plugin:

  • Linux/amd64

To build the plugin binary:

Fork https://github.com/staples-inc/snap-plugin-collector-netstat Clone repo into $GOPATH/src/github.com/staples-inc/:

$ git clone https://github.com/<yourGithubID>/snap-plugin-collector-netstat.git

Build the plugin by running make within the cloned repo:

$ make

This builds the plugin in /build/rootfs/

Documentation

Collected Metrics

List of collected metrics in METRICS.md

Roadmap

  • Allow for custom specification of /proc/ path

Please contact us with any suggestions to improve the plugin. Open an issue or pull request and we will be sure to get back to you.