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
92045
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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).