I have many file triggers running on Windows agents, that are monitoring folders on an AS400 machine. They work fine 99% of the time. Occasionally one will fail with the "Scan failed" error. If I resubmit the job it works. I suspect there may just be intermittent slowness in the network or the server (either end), causing a timeout of the monitor. Is there any parameter or configuration option to increase the timeout? Or an automatic retry of the monitor if it gets a "scan failed"?
You can use following 2 parameters in the Agent's agentparm.txt file
1. filemonplugin.scan.retries=10 (default=1)
2. filemonplugin.scan.retires.sleep=60000 (default is 10000 in milliseconds=10secs)