My business purpose is monitoringto monitor the remote file system on Linux, and if there isare any new files, SFTP them to another machine and delete them.
ButHowever, the thinglimitation is that I can'tcannot install any libraries on the remote machine. So what So, I am thinking of is sendingconsidering implementing interval SSH command polling to the remote machine.
And here it is my question.My questions:
- Interval polling is implementable? Or if there is any better idea, please let me know!
Is interval polling implementable? Or do you have any better ideas?
- What kind of SSH command should I use to monitor the remote machine?
What kind of SSH command should I use to monitor the remote machine?
Sorry if I neglect the conduct. Thanks.