This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
сервис_prometheus [2022/02/23 15:47] val [Подключение] |
сервис_prometheus [2022/03/10 16:04] val [prometheus-alertmanager] |
||
---|---|---|---|
Line 127: | Line 127: | ||
</code> | </code> | ||
- | * [[http://server.corpX.un:9090/alerts]] | + | * [[http://192.168.X.10:9090/alerts]] |
===== Exporters ===== | ===== Exporters ===== | ||
Line 150: | Line 150: | ||
<code> | <code> | ||
$ cat /sys/class/net/eth1/statistics/rx_bytes | $ cat /sys/class/net/eth1/statistics/rx_bytes | ||
+ | или | ||
+ | $ cat /sys/class/net/bond0/statistics/rx_bytes | ||
# TYPE node_network_receive_bytes_total counter | # TYPE node_network_receive_bytes_total counter | ||
Line 363: | Line 365: | ||
<code> | <code> | ||
rate(if_in_octets{ifDescr="FastEthernet1/1",ifIndex="3",instance="router",job="snmp"}[1m]) | rate(if_in_octets{ifDescr="FastEthernet1/1",ifIndex="3",instance="router",job="snmp"}[1m]) | ||
+ | или | ||
+ | rate(if_out_octets{ifIndex="5",instance="router",job="snmp"}[1m]) | ||
8*rate(if_in_octets{ifDescr="FastEthernet1/1",instance="router"}[1m]) | 8*rate(if_in_octets{ifDescr="FastEthernet1/1",instance="router"}[1m]) | ||
+ | или | ||
+ | 8*rate(if_out_octets{ifDescr="Port-channel1",instance="router"}[1m]) | ||
</code> | </code> | ||