FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
256 views 0 comments
by anonymous

I'm trying to get the MQTT publisher to fetch data from the router. The publisher connects to my outside broker(rabbit), however when I publish a message the connections just die. 

If I run the /usr/sbin/mqtt_pub manually the bin just crashes when I try to publish a message. For example when I want to get the signal the mqtt_pub logs this and then die:

Executing 'gsmctl -q 2>/dev/null'

Failed to enter mosquitto loop

Anyone have any idea why?
I'm on the RUT9XX_R_00.06.09.2 firmware
Best regards, Hannes

1 Answer

0 votes
by anonymous

Hello,

We have wiki article, which explains how to acquire MQTT information from the router through SSH. Article can be found here: https://wiki.teltonika-networks.com/view/Monitoring_via_MQTT

Meanwhile, I am also attaching instructions for you, which indicate how our devices could be monitored through a third-party (flespi.io) MQTT platform. Yes, you are using a different application, but nonetheless, these instructions might provide useful insights on how to acquire information from the device. Mentioned instructions can be found here: https://community.teltonika-networks.com/?qa=blob&qa_blobid=16315289752140777014

I have also tested the firmware and was able to acquire MQTT information from a device running RUT9XX_R_00.06.09.2 firmware version.