9.20. Configuration for the ftp check

Check if a connect (and a test transfer) works fine with your ftp server

If Net::FTP is installed, it will be used and the testfile-tag is possible to specify. IfNet::FTP is not installed, a simple socket connection with logon will be processed.

FTP

Explanation

FTP is the enclosing tag for all ftp servers to check.

Parent

OSAGENT

allowed values

Count

0 or 1. If you don't define FTP, no ftp check will run.

Example
   <FTP>
     <FTPCHECK>
       <CHECKPOINTNAME>ftp-server01</CHECKPOINTNAME>
       <HOST>192.168.1.1</HOST> 
       <ERRORLEVEL>ERROR</ERRORLEVEL> 
       <USER>anonymous</USER>
       <PASSWORD>your@email.de</PASSWORD>
       <TESTFILE>test.bin</TESTFILE>
     </FTPCHECK>
     <FTPCHECK>
       <CHECKPOINTNAME>ftp-server02</CHECKPOINTNAME>
       <HOST>192.168.1.2</HOST>
       <ERRORLEVEL>WARNING</ERRORLEVEL>
       <USER>anonymous</USER>
       <PASSWORD>your@email.de</PASSWORD>
     </FTPCHECK>
   </FTP>
        

FTPCHECK

Explanation

for every ftp server you want to check you you define the FTPCHECK-pair

Parent

FTP

allowed values

Count

As many as you like.

Example

Look at FTP

USER

Explanation

Username to logon to ftp server

Parent

FTPCHECK

allowed values

username (string)

Count

1

Example

Look at FTP

PASSWORD

Explanation

password for username (see USER)to logon to ftp server

Parent

FTPCHECK

allowed values

string (string) be careful: special characters must be xml valid

Count

1

Example

Look at FTP

TESTFILE

Explanation

testfile to be transfered

Parent

FTPCHECK

allowed values

valid path to a test file which should be transfered

Count

0 or 1

Example

Look at FTP