Answer the question
In order to leave comments, you need to log in
How to monitor the maximum throughput and state (stability) of the local network with prometheus?
Good afternoon!
There is a small closed local area network. A bunch of prometheus, grafana and node_exprtert is used as a monitoring system.
How to use prometheus to control the speed between servers in a given local network, is there any ready-made tool? I can run it manually scp some_file [email protected]:/tmp/
and see the result, but I would like to automate it, have historical data, etc.
It is also necessary to control the "quality" of the network. Relatively speaking, how many pings are lost and the response time (average or median) when executing a command ping 10.1.1.1 -s 1024
. Alternatively, I can write a script and execute it once an hour, transfer the results to Node_exporter as a data source, but there may be a more correct "beautiful" way.
Answer the question
In order to leave comments, you need to log in
for "ping" it is better to use blackbox_exporter
-
icmp module
fits very well
into
this
bundle from server 1 to server 2 via scp with the frequency you need
using the rate function and these metrics you will be able to see the reception / transmission speed on the interfaces
# The average network traffic received, per second, over the last minute (in bytes)
rate(node_network_receive_bytes_total)[1m])
# ---
rate(node_network_transmit_bytes_total)[1m])
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question