I am trying to figure out a way to notice when a certain file is written to on the network folder mounted. I am aware that one can continuously probe the location to see if it has been created but that's very nice. I am also aware that one can use inotify, and derivatives of it like iwatch and inotify-tools, to look for kernel flags. However, it is a network folder the flags are not raised on the machine where the folder is mounted to.
So I was wondering if there are other ways to do this. I was thinking maybe use messaging queues like RabbutMQ. Check when the files are written and send message to a queue then read the message on mounted machine and do whatever?