This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
сервис_prometheus [2023/06/24 14:34] val [prometheus-node-exporter] |
сервис_prometheus [2023/06/24 15:41] val [prometheus-node-exporter] |
||
---|---|---|---|
Line 149: | Line 149: | ||
== node_network_receive_bytes_total == | == node_network_receive_bytes_total == | ||
<code> | <code> | ||
- | $ cat /sys/class/net/eth1/statistics/rx_bytes | + | $ cat /sys/class/net/eth0/statistics/rx_bytes |
или | или | ||
$ cat /sys/class/net/bond0/statistics/rx_bytes | $ cat /sys/class/net/bond0/statistics/rx_bytes | ||
Line 173: | Line 173: | ||
8*rate(node_network_receive_bytes_total[1m]) | 8*rate(node_network_receive_bytes_total[1m]) | ||
- | 8*rate(node_network_receive_bytes_total{device="eth1"}[1m]) | + | 8*rate(node_network_receive_bytes_total{device="bond0"}[1m]) |
- | 8*rate(node_network_receive_bytes_total{device="eth1",instance="localhost:9100",job="node"}[1m]) | + | 8*rate(node_network_receive_bytes_total{device="eth0",instance="localhost:9100",job="node"}[1m]) |
</code> | </code> | ||