Track status beacon events and maintain a register of active minions.
This module is the foundation for health-oriented Thorium formulas. It records the latest status beacon payload and the receive time for each minion so later states can reason about stale or missing check-ins.
New in version 2016.11.0.
Activate this register to turn on a minion status tracking register, this register keeps the current status beacon data and the time that each beacon was last checked in.
This state watches events whose tag matches salt/beacon/*/status/*.
It is commonly paired with key.timeout to reject or delete keys for
minions that stop reporting.
USAGE:
status_register:
status.reg
reject_stale_keys:
key.timeout:
- reject: 300
- require:
- status: status_register