eG Monitoring
 

Measures reported by MosqMQTTBroTest

Using this test, administrators can determine the uptime of the message broker as well as figure out whether/not the message broker was rebooted. This test also throws light on the count of clients connected/disconnected to the message broker. This way, the test provides near-accurate indicators of the client connection load on the message broker. Also, by reporting the rate at which messages (including PUBLISH messages) and data are processed, the test reveals early to administrators if the message broker is experiencing processing difficulties.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
uptime Indicates the time period that the message broker has been up since the last time this test ran. Secs If the message broker has not been rebooted during the last measurement period and the agent has been running continuously, this value will be equal to the measurement period. If the message broker was rebooted during the last measurement period, this value will be less than the measurement period of the test. For example, if the measurement period is 300 secs, and if the system was rebooted 120 secs back, this metric will report a value of 120 seconds. The accuracy of this metric is dependent on the measurement period - the smaller the measurement period, greater the accuracy.
isRebooted Indicates whether the message broker has been rebooted during the last measurement period or not.   If this measure shows 1, it means that the system was rebooted during the last measurement period. By checking the time periods when this metric changes from 0 to 1, an administrator can determine the times when this message broker was rebooted.
totalClients Indicates the total number of clients currently registered on the message broker during the last measurement period. Number  
clientsConnected Indicates the number of clients currently connected to the message broker during the last measurement period. Number This measure is a good indicator of client connection load on the message broker.
clientsDisconnected Indicates the number of clients currently connected to the message broker during the last measurement period. Number  
clientsExpired Indicates the number of disconnected persistent clients that expired and were removed during the last measurement period. Number  
maximunClients Indicates the maximum number of clients connected to the message broker during the last measurement period. Number This measure is a good indicator of client connection load on the message broker.
subscriptions Indicates the total number of subscriptions on the message broker during the last measurement period. Number  
bytesSent Indicates the rate at which data was sent from the message broker during the last measurement period. MB/sec  
bytesReceviedt Indicates the rate at which data was received by the message broker during the last measurement period. MB/sec  
publishMsgSent Indicates the total number of PUBLISH messages sent from the message broker during the last measurement period. Number  
publishMsgSentRate Indicates the rate at which PUBLISH messages were sent from the message broker during the last measurement period. MB/sec  
publishMsgRecevied/th> Indicates the total number of PUBLISH messages received by the message broker during the last measurement period. Number  
publishMsgReceviedRate Indicates the rate at which PUBLISH messages were received by the message broker during the last measurement period. MB/sec  
publishMsgDropped Indicates the number of PUBLISH messages that were dropped due to inflight/queuing limits during the last measurement period. Number Ideally, the value of this measure should be zero.
publishMsgDroppedRate Indicates the rate at which PUBLISH messages were dropped due to inflight/queuing limits during the last measurement period. MB/sec A low value is desired for this measure.A sudden/gradual increase in the value of this measure indicates that the message broker is experiencing processing difficulties.
publishBytesSent Indicates the rate at which data was sent for PUBLISH messages during the last measurement period. MB/sec  
publishBytesRecevied Indicates the rate at which data was received from PUBLISH messages during the last measurement period. MB/sec  
msgSent Indicates the total number of messages sent by the broker during the last measurement period. Number  
msgSentRate Indicates the rate at which messages were sent from the message broker during the last measurement period. MB/sec  
msgRecevied Indicates the total number of messages received by the broker during the last measurement period. Number  
msgReceviedRate Indicates the rate at which messages were received by the message broker during the last measurement period. MB/sec  
retainedMsgs Indicates the total number of messages set with the retained messages flag on the message broker during the last measurement period. Number A retained message is a normal MQTT message with the retained flag set to true. The broker stores the last retained message and the corresponding QoS for that topic. Each client that subscribes to a topic pattern that matches the topic of the retained message receives the retained message immediately after they subscribe. The broker stores only one retained message per topic.Retained messages help newlysubscribed clients get a status update immediately after they subscribe to a topic. The retained message eliminates the wait for the publishing clients to send the next update.
retainedMsgsRate Indicates the rate at which messages were set with the retained messages flag on the message broker during the last measurement period. MB/sec