Summary
Beacons give Minions the ability to raise events based on monitored conditions. A validate()
function is helpful for ensuring that the configuration is correct, but it is not required. A beacon()
function is required, as it is the function that performs the actual monitoring. Use execution modules when possible to perform the heavy lifting. Beacons can run at very short intervals, but by having them store data in grains, you can set notifications at longer intervals.
Now that we have all of the Minion-side modules in the book out of the way, let's go back and finish up with some Master-side modules. Next up: extending the Master.