Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Perl script that uploads a file on a SFTP server and extract metrics This script doesn't rely on any other external application as psftp to connect.
Current Version
Last Release Date
January 8, 2013
Owner
Dani
Compatible With
The script tries to upload and download a file to the Server and returns the time spent on the test
It's need to provide as a parameter the path of the configuration file
It defines all the parameters for the script host: name of the SFTP host port: port of the SFTP Server user: user to connect to the SFTP Server password: password to connect to the SFTP Server filepath: path of the test file that will be uploaded/downloaded to the SFTP Server
warning: maximum time in seconds to complete the test before raise a WARNING alert critical: maximum time in seconds to complete the test before raise a CRITICAL alert
<?xml version="1.0"?> <config> <host>127.0.0.1</host> <port>22</port> <user>test</user> <password>test</password> <filepath>C:testSFTPfile.txt</filepath> <warning>4</warning> <critical>4</critical> </config>
You must be logged in to submit a review.
To:
From: