Hello, I need help solving a problem.
How to calculate the amount of network traffic on an interface.
Input data:
Data source - elastic search
OID - ifHCOutOctets 1.3.6.1.2.1.31.1.1.1.10
request
The task is to take the current value and subtract the previous one.Should get the average amount of traffic for minute
Try this:
irate(ifHCOutOctets{ifName=~'$Interface',instance='$instance'}[$__rate_interval])*8
Regards,
Fadjar
Hello.
Hello.
I not undestend how to configure it correctly.
I’m new to the product =)
I’m sorry, I think you were use Prometheus.
If you use Elasticsearch or Opensearch, you should add Derivative to calculate the real usage.
Try This:
Regards,
Fadjar
Thank you , probably helped.
Maybe you know how to set up alert.
Topic
yosiasz
7
so in the case of the image you posted what would the final values look like?