Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
ref:mqtt [2023/11/25 19:28] – [Servers] client/list, not client_list ... and other missing topics digital man | ref:mqtt [2024/01/12 17:30] – [Servers] Add pause and resume server topics digital man |
---|
sbbs/MYBBS/host/MYCOMPUTER/server/term = ready 1/5 clients 223 served | sbbs/MYBBS/host/MYCOMPUTER/server/term = ready 1/5 clients 223 served |
| |
The numeric //state// (first field of status) for each server is 0-5 corresponding with Stopped, Initializing, Ready, Reloading, Stopping, and Disconnected. | 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/statistics and is published more often when "High" Public Verbosity is enabled. | The server status contains more details/statistics and is published more often when "High" MQTT->Publish Verbosity is enabled in [[util:SCFG]]. |
| |
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 "ready" state, accepting incoming client connections. |
| |
Each server topic has the following sub-topics for status reporting: | Each server topic has the following sub-topics for status reporting: |
| |
* sbbs/+/host/+/server/+/**version** | * sbbs/+/host/+/server/+/**version** - name, version/revision, and build date/time/tool of server |
* sbbs/+/host/+/server/+/**state**/+ - server state change events | * sbbs/+/host/+/server/+/**state/#** - server state change events |
* sbbs/+/host/+/server/+/**client** - current count of connected clients and maximum number of concurrent clients supported by this server | * sbbs/+/host/+/server/+/**client** - current count of connected clients and maximum number of concurrent clients supported by this server |
* sbbs/+/host/+/server/+/**client/list** - tab-delimited details of all connected clients, one client per line | * sbbs/+/host/+/server/+/**client/list** - tab-delimited details of all connected clients, one client per line |
* sbbs/+/host/+/server/+/**client/action**+ - client actions (e.g. connect, disconnect) | * sbbs/+/host/+/server/+/**client/action/#** - client actions (e.g. connect, disconnect) |
* sbbs/+/host/+/server/+/**served** - total clients served since server was started | * sbbs/+/host/+/server/+/**served** - total clients served since server was started |
* sbbs/+/host/+/server/+/**error_count** - total errors logged since server was started | * sbbs/+/host/+/server/+/**error_count** - total errors logged since server was started |