-
Notifications
You must be signed in to change notification settings - Fork 384
collectors SockstatCollector
Rob Smith edited this page Sep 16, 2014
·
14 revisions
Uses /proc/net/sockstat to collect data on number of open sockets
- /proc/net/sockstat
Options - Generic Options
Setting | Default | Description | Type |
---|---|---|---|
byte_unit | byte | Default numeric output(s) | str |
enabled | False | Enable collecting these metrics | bool |
measure_collector_time | False | Collect the collector run time in ms | bool |
metrics_blacklist | None | Regex to match metrics to block. Mutually exclusive with metrics_whitelist | NoneType |
metrics_whitelist | None | Regex to match metrics to transmit. Mutually exclusive with metrics_blacklist | NoneType |
servers.hostname.sockets.tcp_alloc 13
servers.hostname.sockets.tcp_inuse 10
servers.hostname.sockets.tcp_mem 1
servers.hostname.sockets.tcp_orphan 0
servers.hostname.sockets.tcp_tw 1
servers.hostname.sockets.udp_inuse 0
servers.hostname.sockets.udp_mem 0
servers.hostname.sockets.used 118