Supported Platforms
Example: Retrying the File Upload Action
This section discusses two examples.
Example 1
Configure a policy that retries the file upload operation two times with a time interval of 5 seconds between retries:
Example 2
Configure a transfer delay of 10 seconds and retry the file upload operation two times with a time interval of 5 seconds between retries:
The transfer delay is in operation for the first upload attempt
only. The policy uploads the command-output.txt
file after a 10-second transfer delay. If the event process (eventd)
detects failure of the upload operation, eventd retries the upload
operation after 5 seconds. The failure detection time can be
in the range from 60 to 90 seconds, depending on the transmission
protocol, such as FTP.
The following sequence describes the file upload operation with two failed retransmissions:
- Policy triggers upload operation.
- Transmission delay of 10 seconds.
- Policy tries to upload the output file.
- Policy detects transmission failure.
- Retry interval of 5 seconds.
- Policy tries to upload the output file.
- Policy detects transmission failure.
- Retry interval of 5 seconds.
- Policy tries to upload the output file.
- Policy detects transmission failure.
- Policy declares the failure of the file upload operation.