Here's an interesting situation. I have:
- A Linux box that is a motion sensor and can execute command line commands upon receiving a motion event (see the Linux motion app).
- Another Linux box that (I would like to) dedicated to additional processing in the event that a motion is detected.
The reason I don't want the first Linux box to do additional processing is that it is woefully underpowered and isn't conveniently connected to other systems that I'd like to activate.
So my question is, how do I broadcast or send machine readable code from that first Linux box to another Linux box (or any ssh client) to trigger further processing based on the type of code? I tried the broadcast command but for some reason, it shows up as empty in the clients instead of a specific code. In addition, how do I enable the 2nd Linux box to act upon the code? Should it be a cronjob or some sort of listener?