SCP (Input Agent cron)
This Input Agent reads the input data from a remote computer via SCP and works in principle like the Input Agent "File", but the login on the remote computer and the transmission of the data is encrypted.
Note: Data that can not be assigned to a profile is stored in the Unresolved area. See also section Warning for non-assignable input data.
Settings
(1) Channel selection: "SSH" channel that can be used for the connection to the target system (2).
(2) Target system: IP/URL of the target system.
(3) Port: Port of the target system. If value 0 is specified, then either the default port (./etc/ssh.xml) is used (if no channel is selected) or the port specified in the channel is used (if a channel is selected). If a value > 0 is specified, then this value is used as port number.
(4) Key handling: Either all keys are accepted or only certain ones, see (5), (6), (7).
(5) Type of key: Indicates what type of key it is. So far, only type "RSA" is supported.
(6) Fingerprint: The key that is expected from the server. If the server does not deliver the entered key, the connection will not be established.
(7) Import key: Gets the key type and the key (of the target computer) from the specified target computer. The two values are stored in the profile. If the destination computer or the key changes, the change has to be adjusted in the profile accordingly. If several profiles access a server via SCP, each profile stores the key type and key values independently of the other profiles.
(8) Directory: The directory in which the files are searched. It is not possible to specify multiple directories. You can also use timestamp components like <yyyy>, <dd>, etc.
(9) File pattern: File pattern that defines which files in the target directory are accepted. It is not possible to specify multiple file patterns.
(10) File handling: The read file can be handled in the following ways.
"Delete" deletes the read file.
"Do not delete" does not delete the read file. Attention: If the file is not somehow removed, it will be read in again the next time the profile is started.
"Rename" will rename the file. The new file name can be specified in the associated field. The following placeholders can be used to refer to the name of the processed file.
<file> Full name of the processed file.
<file-prefix> Name of the processed file without the file extension.
Attention: If deleting or renaming the file to be processed fails, for example, because a file with the same name already exists, no job is started. If option Cron job is considered on error if no data is found is set, that will also lead to an error even though there would be a file to be processed.
(11) Activate parallel processing: If this checkbox is set, several instances of this profile can work in parallel. The checkbox Profile may only run in one instance may not be set for this profile then.