This repository has been archived by the owner on Jan 1, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bb7f28
commit c5c8071
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,10 @@ | |||
* A Client Will | |||
- Subscribe to a set of fanout exchanges base on its run list or roles | |||
- Send keep alives via a TCP socket to the server (sending a subset of ohai attributes to help identify) | |||
- Execute a check and push the result with its check id to a direct exchange ("results") | |||
|
|||
* A Server Will | |||
- Populate an internal work queue from an OpsChef data bag (nagios checks mapped to roles) | |||
- Subscribe to a direct exchange ("results") | |||
- Pull a check from the internal work queue, tag it with a check id (uuid), and then push it out onto its associated fanout exchange (role) | |||
- Save sent check id, timestamp, and the command name in redis |