Example
Test the availability of the FTP server ftp.mycompany.com by downloading the file /sales/prodlist.tar.Z to $ISMHOME/etc/ism/downloads/ftp-test.tar.Z at fifteen-minute intervals from the account sales/mycompany. Classify the service level as Good if the operation returns a status code of 226 (file transfer successful), and as Failed otherwise. Use passive mode for the file transfer.
Create a new FTP monitor profile element and set the fields to the values shown in Table 1.
Profile element configuration field |
Value |
---|---|
server |
ftp.mycompany.com |
localfile |
$ISMHOME/etc/ism/downloads/ftp-test.tar.Z |
remotefile |
/sales/prodlist.tar.Z |
description | File download test |
Active |
Selected |
username |
sales |
password |
mycompany |
Command |
GET |
poll |
900 |
connectiontype |
Passive |
Service level classification details | |
statement |
Status != 226 then status is Failed else Good. |