Page 1 of 1
How to create iperf command from 2 plugins I found
Posted: Wed Oct 16, 2019 3:09 pm
by dlukinski
Hello XI support
Please advise how to make a command & service out of these plugins?
- can't get them to work even after installing iperf and iperf3
https://exchange.nagios.org/directory/P ... f3/details
https://exchange.nagios.org/directory/P ... rf/details
Re: How to create iperf command from 2 plugins I found
Posted: Wed Oct 16, 2019 3:28 pm
by mbellerue
Can you show the command that you've built so far?
Also this will require that iperf is also running on the remote side. So make sure that iperf is setup and listening for connections on the remote server.
Re: How to create iperf command from 2 plugins I found
Posted: Fri Oct 18, 2019 1:26 pm
by dlukinski
mbellerue wrote:Can you show the command that you've built so far?
Also this will require that iperf is also running on the remote side. So make sure that iperf is setup and listening for connections on the remote server.
We have iperf running on the remove side, just trying to figure how to build a command in Nagios
Re: How to create iperf command from 2 plugins I found
Posted: Fri Oct 18, 2019 2:35 pm
by mbellerue
A basic example of the command, using iperf3, would look something like this.
$USER1$/check_iperf3.pl $ARG1$
And then for $ARG1$ in your service definition, you might provide "10 15" as shown in the check_iperf3.pl --help example. It looks like by default this check runs 30 tests, so it'll take about 30 seconds to run.