How to create iperf command from 2 plugins I found

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

How to create iperf command from 2 plugins I found

Post 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
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: How to create iperf command from 2 plugins I found

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: How to create iperf command from 2 plugins I found

Post 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
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: How to create iperf command from 2 plugins I found

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked