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

Directory Tree

check_oftp

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

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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).