Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_oftp
Current Version
1.2.82
Last Release Date
2010-08-12
Compatible With
- Nagios 2.x
- Nagios 3.x
Owner
License
GPL
Hits
95917
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!
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).
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).
Reviews (0)
Be the first to review this listing!