Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 601 Bytes

README.md

File metadata and controls

19 lines (18 loc) · 601 Bytes

Netstat exporter

Prometheus exporter for exposing reserved ports and it's mapped process.

System Requirements

  • Linux OS (Ubuntu 20.04 & Debian Stretch tested)
  • netstat installed

Quick Start

To quickly scrape reserved ports & it's process

./netstat_exporter

Flags

--port Exporter listened ports, default to 9119

Metrics

node_port_used{port=80,process="nginx",type="TCP",pid=81} 1.0

  • port is reserved port for specific process
  • process is process name that used the port
  • type is protocol type of reserved port. Either TCP or UDP
  • pid is process ID of reserving port