xsteadfastx / iperf3exporter

A iperf3 speedtest exporter for prometheus
MIT License
5 stars 2 forks source link

[Feature] more iperf3 parameter #4

Open Technikte opened 2 years ago

Technikte commented 2 years ago

Maybe add some off these parameters.. see https://software.es.net/iperf/invoking.html#iperf3-manual-page So env var like.. IPERF3EXPORTER_IPERF3_PARALLEL , IPERF3EXPORTER_IPERF3_UDP

For me the following ones would be import for now..

   --connect-timeout n
          set  timeout  for establishing the initial control connection to
          the server, in milliseconds.  The default behavior is the  oper-
          ating  system's  timeout for TCP connection establishment.  Pro-
          viding a shorter value may speed up detection of a  down  iperf3
          server.

   -P, --parallel n
          number of parallel client streams to run. Note  that  iperf3  is
          single  threaded,  so  if you are CPU bound, this will not yield
          higher throughput.

   -u, --udp
          use UDP rather than TCP
xsteadfastx commented 2 years ago

Yeah why not? I will implement that 👍

Am 19. November 2021 23:37:16 MEZ schrieb Technikte @.***>:

Maybe add some off these parameters.. see https://software.es.net/iperf/invoking.html#iperf3-manual-page So env var like.. IPERF3EXPORTER_IPERF3_PARALLEL , IPERF3EXPORTER_IPERF3_UDP

For me the following ones would be import for now..

   --connect-timeout n
          set  timeout  for establishing the initial control connection to
          the server, in milliseconds.  The default behavior is the  oper-
          ating  system's  timeout for TCP connection establishment.  Pro-
          viding a shorter value may speed up detection of a  down  iperf3
          server.

   -P, --parallel n
          number of parallel client streams to run. Note  that  iperf3  is
          single  threaded,  so  if you are CPU bound, this will not yield
          higher throughput.

   -u, --udp
          use UDP rather than TCP

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xsteadfastx/iperf3exporter/issues/4

xsteadfastx commented 2 years ago

FYI: im sick right now. else this would have been ready...

Technikte commented 2 years ago

FYI: im sick right now. else this would have been ready...

No problem, take your time. If I get some free time I will try understand the code (+ GO as a language) and maybe do a pr.

PCbIX commented 1 year ago

Hello, any news with additional options implementation?

xsteadfastx commented 1 year ago

what exact parameters do you need?