This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервис_grafana [2023/06/24 17:08] val [Интеграция с Prometheus] |
сервис_grafana [2023/06/24 17:49] val [Create dashboard] |
||
---|---|---|---|
Line 81: | Line 81: | ||
Add New Panel | Add New Panel | ||
| | ||
- | Panel Title: FastEthernet1/0 connection to LAN | + | Panel Title: FastEthernet0/0 connection to WAN |
или | или | ||
Panel Title: Port-channel1 connection to LAN | Panel Title: Port-channel1 connection to LAN | ||
Line 87: | Line 87: | ||
Query: A | Query: A | ||
| | ||
- | Metrics: 8*rate(ifInOctets{ifDescr="FastEthernet1/0",instance="router"}[1m])/1000000 | + | Metrics: 8*rate(ifInOctets{ifDescr="FastEthernet0/0",instance="router"}[1m])/1000000 |
или | или | ||
- | Metrics: 8*rate(ifInOctets{ifDescr="Port-channel1",instance="router"}[1m])/1000000 | + | Metrics: rate(ifInOctets{ifDescr="Port-channel1",instance="router"}[1m])/125000 |
| | ||
Legend: in Mbps | Legend: in Mbps | ||
Query: B | Query: B | ||
| | ||
- | Metrics: 8*rate(ifOutOctets{ifDescr="FastEthernet1/0",instance="router"}[1m])/1000000 | + | Metrics: 8*irate(ifOutOctets{ifDescr="FastEthernet0/0",instance="router"}[1m])/1000000 |
или | или | ||
- | Metrics: 8*rate(ifOutOctets{ifDescr="Port-channel1",instance="router"}[1m])/1000000 | + | Metrics: irate(ifOutOctets{ifDescr="Port-channel1",instance="router"}[1m])/125000 |
| | ||
Legend: out Mbps | Legend: out Mbps |