Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_oftp

Current Version
1.2.82
Last Release Date
2010-08-12
Compatible With
  • Nagios 2.x
  • Nagios 3.x
License
GPL
Hits
92205

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

check_oftp
Check OFTP (Odette FTP server) connection.
It will create a TCP socket to an OFTP server and port then try to search for "READY" string in received data a defined amount of time (see help --> timeout option).

Usage: check_oftp.py [options]

Options:
-h, --help show this help message and exit
-H HOSTNAME OFTP server address
-p PORT OFTP server port
-t TIMEOUT Response timeout (default: 5 secs)

Example:

python check_oftp.py -H your_host -p port

Note: Timeout option needs a float integer (like "2.0" for two seconds) !

Requirements:

All you need is a standard Python installation. The script was created using Python 2.6, not sure if it will work with earlier versions.

Note: You can specify another shebang in the script (check first line).