mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-14 05:57:25 +01:00
936 B
936 B
netstat
collector
"netstat": {
"include_devices": [
"eth0"
],
"send_abs_values" : true,
"send_derived_values" : true
}
The netstat
collector reads data from /proc/net/dev
and outputs a handful node metrics. With the include_devices
list you can specify which network devices should be measured. Note: Most other collectors use an exclude list instead of an include list.
Metrics:
net_bytes_in
(unit=bytes
)net_bytes_out
(unit=bytes
)net_pkts_in
(unit=packets
)net_pkts_out
(unit=packets
)net_bytes_in_bw
(unit=bytes/sec
ifsend_derived_values == true
)net_bytes_out_bw
(unit=bytes/sec
ifsend_derived_values == true
)net_pkts_in_bw
(unit=packets/sec
ifsend_derived_values == true
)net_pkts_out_bw
(unit=packets/sec
ifsend_derived_values == true
)
The device name is added as tag stype=network,stype-id=<device>
.