Commit Graph

138 Commits (cf6309316c89a96a0a4b848185b32830a6e8175e)

Author SHA1 Message Date
Shirou WAKAYAMA 31439aa6b5 [net]linux: fix valious bugs in NetConnections. 9 years ago
Shirou WAKAYAMA e4ddff09d5 [net]linux: add process_unix for NetConnections. 9 years ago
Shirou WAKAYAMA 32c62b5d48 [net]linux: implement processInet(). 9 years ago
Shirou WAKAYAMA 6c352016d8 [net]linux: start replacing lsof. still work in progress. 9 years ago
Shirou WAKAYAMA d680853370 net,process[linux]: add process.NetIOCounter and net.NetIOCounterByFile. 9 years ago
Masayoshi Sekimura 3a1fa5dc80 format go program with go 1.5.2 "go fmt" 9 years ago
shirou f58654fa1c Merge pull request #122 from jimmystewpot/add_netfilter
Add nf_conntrack counter support
9 years ago
Cameron Sparr 432bcbd056 Add -W flag to netstat on BSD systems
This prevents netstat from truncating the interface name to 5
characters. See https://github.com/influxdb/telegraf/issues/438
9 years ago
shirou dc452207f2 Merge pull request #128 from ontsysmattholcomb/use-env-proto-counters
using HostProc for protocounters in linux
9 years ago
Nikolay Sivko 906df3ed85 [net] fix panic on freebsd (netstat error with exit code 0) 9 years ago
Matt Holcomb 21ccfe6b60 using HostProc for protocounters in linux 9 years ago
James Lamb a9e946c7dd change the snakecase to reflect the files being read 9 years ago
James Lamb 5700150054 Updated README.rst and included updated syntax to be more uniform with the other code 9 years ago
James Lamb 22f35fd518 add netfilter counter support 9 years ago
James Lamb dfff8af4df add nf_conntrack statistics to net_linux to query iptables/netfilter conntrack limits 9 years ago
Nathaniel Cook da832b3f12 add system wide network protocol stats 9 years ago
Shirou WAKAYAMA 7288e9a5af common[all]: add internal 10 years ago
Daniel Theophanes 0af895258e common: rename package common to internal/common. Add ENV helper funcs.
Package common wasn't used for public functions. Place it in an
internal directory to prevent other packages from using.

Remove the distributed references to "HOST_PROC" and "HOST_SYS"
consts and combine into a common function. This also helps so that
if a env var is defined with a trailing slash all will continue to
work as expected.

Fixes #100
10 years ago
Jonathan Chauncey 0461c50666 chore(*): Fixes #94
Added the ability to fetch an alternative location for /proc via an
environment variable. If the env var is not set it will return /proc as
the default value.
10 years ago
Shirou WAKAYAMA 93e226a5e3 net[freebsd,linux,darwin]: merge unix like OSes. 10 years ago
Shirou WAKAYAMA 34195b4b58 net[darwin, linux]: get UDP information when inet or all specified. 10 years ago
Shirou WAKAYAMA b3cf7354f6 process[linux, darwin]: implements Connections using lsof. 10 years ago
Shirou WAKAYAMA 4d0f737301 net: because lsof failed on drone.io, skip TestNetConnections if CI. 10 years ago
Shirou WAKAYAMA 0062ae2bfa use LookPath 10 years ago
Shirou WAKAYAMA 249a761b81 net[linux]: temporary enable error print. 10 years ago
Shirou WAKAYAMA 8d21be591e net[linux]: implements NetConnections() using lsof. 10 years ago
Shirou WAKAYAMA c50db4f462 net[darwin]: implement NetConnections(). 10 years ago
Shirou WAKAYAMA 6bb6762470 net[darwin]: add drop count to NetIOCounter. 10 years ago
Shirou WAKAYAMA e0b1d62a4d net[darwin]: add netstat -idbn example in the comment. 10 years ago
Cameron Sparr c57e866f91 Fix net stat reporting for Darwin 10 years ago
Shirou WAKAYAMA b5ffc220a6 common: Rename StringContains to StringsContains and add StringsHas. 10 years ago
Shirou WAKAYAMA 3ff690d1d8 make single network interface about NetIOCounters on darwin and freebsd 10 years ago
Shirou WAKAYAMA 406cbe9b87 implements pernic of NetIOCounters. 10 years ago
Shirou WAKAYAMA 13cd195a7e change package name. 10 years ago
Shirou WAKAYAMA c348a399b0 merged 6e713f1469 10 years ago
WAKAYAMA Shirou 9f2c985a28 fix windows build. 10 years ago
WAKAYAMA shirou d11680c773 fix bugs on FreeBSD. 10 years ago
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 10 years ago