How to create devices and tasks

The FTP monitoring agent connects to the specified FTP server, logs on to the FTP server using a user name and password you provide, and a directory listing command is issued to retrieve a specific directory. After the contents of that directory are listed, the monitoring service checks if specified files exist on the server in that specific directory. If our remote monitoring agents detect a problem at any point in the process, Dotcom-Monitor will notify you via the notification process.

Creating a task

Once you have created a device and are adding or editing an FTP / SFTP / FTPS task, you will be prompted to adjust the following settings.

FTP over SSH performs the FTP operations over a secure shell if your server supports SFTP.

FTPS requires an SSL/TLS certificate.

Hostname

Enter the FTP server address to be monitored.  This could be the URL or the IP address.

Select the Connect over SSH check box if necessary.

Completion Timeout (in seconds)

Enter the number of seconds the task should wait for a response from the web page before ending the task and returning an error. If this is left blank the default timeout for a task is 120 seconds.

Login to Server

When disabled –Dotcom-Monitor® connects to the destination address and port and check for successful connection.

When enabled – the authentication procedure will perform the following steps using the credentials supplied in the Login Information section:

User Name: If you have selected Yes for the field Login to Server: enter the user name here.

Password: If you have selected Yes for the field Login to Server:  enter the password associated with the username here.

The authentication will be attempted using the following methods:

  • CRAM_MD5
  • Login
  • Plain
  • Simple
  • SSL/TLS

If none of the methods have succeeded unencrypted, the socket is switched to SSL and repeats each method until a positive response is received (according to RFC 5034 on authentication mechanisms).

Encryption

The field value defines what method will be used during the monitoring session.

Check Files / Directory Listing

Directory Listing: When enabled –files stored at a directory will be listed.  You must select login to the server in order to get the directory listing.

Directory: Enter a directory you wish to check once you have authenticated to the FTP server.  You must be logged in and have selected the Directory Listing check box in order to check for the existence of a directory.

Check File: If you wish to check for the existence of a specific file or set of files, enter the file names in the check file fields.  You must be logged in and have selected yes, get directory listing in order to check a file.

You may use a wildcard * in the filename to specify a partial filename match. for example, “testfile*” would match both testfile1 and testfile2016.

Download File: When file name specified – first 2Mbytes will be downloaded in order to check accessibility.

DNS Options

The DNS Options feature allows users to choose how domain name server (DNS) requests are conducted during a monitoring task.

To specify the mode of resolving hostnames, in the DNS Resolve Mode section, select one of the available modes. For more details on the feature configuration, see DNS Mode Options.

The Custom DNS Hosts section contains the mappings of IP addresses to hostnames.

To specify the mapping, enter the IP address and the host name in the corresponding fields.

Examples:

192.168.107.246   example.com user.example.com userauth.example.com tools.example.com
192.168.107.246   example.com
192.168.107.246   user.example.com
192.168.107.246   userauth.example.com

See also: DNS Mode Options.