RE:- how do i know how many sensors/clients are connected with mosquitto

30 views
Skip to first unread message

Vikash Mishra

unread,
Jul 21, 2023, 9:52:43 AM7/21/23
to MQTT
Hi Team,

I am new to mosquitto. I have installed it on Ubuntu with by default configuration. Now how can I know how many clients/sensors are connected with the broker.

Thanks

Greg Troxel

unread,
Jul 21, 2023, 11:37:18 AM7/21/23
to Vikash Mishra, MQTT
Vikash Mishra <vikas...@jmv.co.in> writes:

> I am new to mosquitto. I have installed it on Ubuntu with by default

I suggest that you address mosquitto questions to the mosquitto
project. I see this list as more appropriate for protocol issues.

Andy Stanford-Clark

unread,
Jul 23, 2023, 5:41:54 AM7/23/23
to mq...@googlegroups.com
That said,
Subscribe to ```$SYS/broker/clients/connected```

Andy
> --
> To learn more about MQTT see https://mqtt.org
> ---
> You received this message because you are subscribed to the Google Groups "MQTT" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+uns...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/mqtt/rmicz0luvh1.fsf%40s1.lexort.com.
>

Reply all
Reply to author
Forward
0 new messages