If you really want to do this, why not put the client ID in the published message? However, scanning a message broker looking for client IDs does not sound like we have a secure broker.
Cheers Mark Typing quality varies as this message has been prepared on my iPad. On 11/10/2012, at 6:00 AM, Roger Light <ro...@atchoo.org> wrote: > Hi Andy, > > Andy is right, there's no way to do this in mosquitto specifically. If > you really need to do this, you can recreate it using client > behaviour: http://mqtt.org/wiki/doku.php/presence > > Cheers, > > Roger > > > On Wed, Oct 10, 2012 at 12:34 PM, andypipe...@gmail.com > <andypipe...@gmail.com> wrote: >> Hi Andy >> >> Curious why you would specifically need to do this? >> >> The idea of a publish-and-subscribe system is that publishers and >> subscribers/consumers are not aware of one another. >> >> I don't think there's a way to monitor specific client IDs with mosquitto >> but I guess you could scrape the broker log to find out which clients are >> connecting. >> >> Andy >> >> On Wed, Oct 10, 2012 at 9:37 AM, andy zhang <andyzhan...@gmail.com> wrote: >>> >>> Hi all, >>> >>> Is there anyone know how to monitor client connected with broker? >>> If subscribe to $SYS/broker/clients/#, I can get the number of connected >>> clients, but I don't know how to get more details information, such as >>> client ID... >>> >>> Regards, >>> Andy >>> >>> -- >>> Mailing list: https://launchpad.net/~mosquitto-users >>> Post to : mosquitto-users@lists.launchpad.net >>> Unsubscribe : https://launchpad.net/~mosquitto-users >>> More help : https://help.launchpad.net/ListHelp >>> >> >> >> >> -- >> Andy Piper | Farnborough, Hampshire (UK) >> blog: http://andypiper.co.uk | skype: andypiperuk >> twitter: @andypiper | images: http://www.flickr.com/photos/andypiper >> >> -- >> Mailing list: https://launchpad.net/~mosquitto-users >> Post to : mosquitto-users@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~mosquitto-users >> More help : https://help.launchpad.net/ListHelp >> > > -- > Mailing list: https://launchpad.net/~mosquitto-users > Post to : mosquitto-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~mosquitto-users > More help : https://help.launchpad.net/ListHelp -- Mailing list: https://launchpad.net/~mosquitto-users Post to : mosquitto-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~mosquitto-users More help : https://help.launchpad.net/ListHelp