Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
ref:mqtt [2023/08/10 12:31] – [Control] Clarify that node flags can be cleared by publishing a "0" to their topics digital man | ref:mqtt [2024/01/12 17:36] – [Hosts] Add pause and resume sub-topics digital man | ||
---|---|---|---|
Line 70: | Line 70: | ||
Nodes can be controlled by publishing messages to the following topics: | Nodes can be controlled by publishing messages to the following topics: | ||
* sbbs/ | * sbbs/ | ||
+ | * sbbs/ | ||
* sbbs/ | * sbbs/ | ||
* sbbs/ | * sbbs/ | ||
Line 91: | Line 92: | ||
The control and monitoring of a specific Synchronet instance is done through this "host sub-topic" | The control and monitoring of a specific Synchronet instance is done through this "host sub-topic" | ||
- | Publishing any message to the **recycle** sub-topic of any host topic will initiate a recycling of that host's servers (all of them). | + | ^ Host sub-topic ^ Description |
+ | | recycle | ||
+ | | pause | Publishing any message to the **pause** sub-topic of any host topic will initiate pause that host's servers (all of them), preventing the acceptance of any new incoming client connections. | | ||
+ | | resume | ||
===== Servers ===== | ===== Servers ===== | ||
Line 104: | Line 108: | ||
The //status// of each server is published to its server topic, for example: | The //status// of each server is published to its server topic, for example: | ||
- | sbbs/ | + | sbbs/ |
- | The numeric | + | The //state// (first field of status) for each server is one of: |
+ | * stopped | ||
+ | * initializing | ||
+ | * ready | ||
+ | * paused | ||
+ | * reloading | ||
+ | * stopping | ||
+ | * disconnected | ||
- | The server status contains more details/ | + | The server status contains more details/ |
Publishing any message to the **recycle** sub-topic of any server topic will initiate a recycling of that server. | Publishing any message to the **recycle** sub-topic of any server topic will initiate a recycling of that server. | ||
+ | Publishing any message to the **pause** sub-topic of any server topic will prevent that server from accepting any new incoming client connections. | ||
+ | Publishing any message to the **resume** sub-topic of any server topic will un-pause that server, returning to the " | ||
Each server topic has the following sub-topics for status reporting: | Each server topic has the following sub-topics for status reporting: | ||
- | * sbbs/ | + | * sbbs/ |
- | * sbbs/ | + | * sbbs/ |
+ | * sbbs/ | ||
+ | * sbbs/ | ||
+ | * sbbs/ | ||
* sbbs/ | * sbbs/ | ||
* sbbs/ | * sbbs/ | ||
- | * sbbs/ | ||
- | * sbbs/ | ||
==== Logs ==== | ==== Logs ==== | ||
Line 149: | Line 163: | ||
Fields are tab-delimited and begin with a date/time stamp in ISO-8601 format. | Fields are tab-delimited and begin with a date/time stamp in ISO-8601 format. | ||
+ | ===== Triggers ===== | ||
+ | |||
+ | The Terminal Server' | ||
+ | * sbbs/ | ||
+ | * sbbs/ | ||
===== See Also ===== | ===== See Also ===== | ||
* [[:ref:|ref index]] | * [[:ref:|ref index]] |