FTP

check_ftp_rw (w/performance meter support)

Description:

This is just a minor update to the check_ftp_rw plugin at:

https://exchange.nagios.org/directory/Plugins/Network-Protocols/FTP/check_ftp_rw-%28w-2FSFTP-support%29/details

The plugin is now able to put performance data to draw a performance sheet to the nagios monitoring

Thanks to Paul Archer / Michalczyk / steffenpoulsen for the original plugin 🙂

$ ./check_ftp_rw –help
check_ftp_rw v$Id: check_hgsc_ftp,v 1.1 2007/01/02 16:11:33 root Exp root $ (nagios-plugins 1.4.16)
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Copyright (c) 2007 Paul Archer

check_ftp_rw v$Id: check_ftp_rw v 1.4 2018/08/29 14:30:00 root Exp root $ (nagios-plugins 1.4.16)
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
08.2018 modified by Dirk Malzahn added performance data

Usage:
check_ftp_rw –host [–user ][–password ][–timeout ][–port ]
[–dir ][–file ][–write ][–ssl][–sftp][–crit ][–warn ][–min ][–max ]
check_ftp_rw [–help]
check_ftp_rw [–version]

–host host to check
–user username to use (uses ‘anonymous’ if user not given)
–password password to use (uses ‘nagios’ if password not given)
–port port to use (uses 21 if port not given)
–timeout timeout in seconds
–dir cd to this directory (stays in base directory otherwise)
–file remote filename to retrieve
–write remote filename to put
–ssl connect using FTPS instead of plain FTP (RFC4217)
–sftp connect using SFTP instead of plain FTP (RFC4251)
–crit Critical time to login to the ftp server ( Default: 10000 ms )
–warn Warning time to login to the ftp server ( Default: 5000 ms )
–min Minimal Time to response to nagios ( Default: 0 ms )
–max Maximal Time to response to nagios ( Default: 50000 ms )

Will return CRITICAL if host cannot be contacted or logged into.
Will return WARNING if specified directory or file isn’t accessible/uploadable.
Will return the amount of time from start of login until logoff of user for performance meter.

Send email to nagios-users@lists.sourceforge.net if you have questions
regarding use of this software. To submit patches or suggest improvements,
send email to nagiosplug-devel@lists.sourceforge.net.
Please include version information with all correspondence (when possible,
use output from the –version option of the plugin itself).

Current Version

1.4

Last Release Date

2018-08-29

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
  • Nagios Fusion

Owner

License

GPL


Project Notes
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
5,297