router_exporter

command module
v0.0.0-...-0ae37bb Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

README

Building

go build

Usage

Usage:
  router_exporter [OPTIONS]

Application Options:
      --interface= Interface to listen on (default: any)
      --filter=    pcap filter
      --mask=      ip range to gather data for (default: 0.0.0.0/0)
      --debug      print captured packets
      --port=      port to listen on with /metrics (default: 2112)
      --address=   address to listen on with /metrics (default: 127.0.0.1)

Help Options:
  -h, --help       Show this help message

2021/09/26 11:43:28 Usage:
  router_exporter [OPTIONS]

Application Options:
      --interface= Interface to listen on (default: any)
      --filter=    pcap filter
      --mask=      ip range to gather data for (default: 0.0.0.0/0)
      --debug      print captured packets
      --port=      port to listen on with /metrics (default: 2112)
      --address=   address to listen on with /metrics (default: 127.0.0.1)

Help Options:
  -h, --help       Show this help message

Example output

# TYPE router_traffic counter
router_traffic{direction="egress",ip="10.0.0.7"} 16996
router_traffic{direction="ingress",ip="10.0.0.7"} 3.004459e+06

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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