You can integrate an Exception Logger plugin with another pinned Reekoh plugin in your instance to send all exceptions to any other platforms for analysis and monitoring. To do this, navigate to Pipeline Studio and then locate the category of the plugin you're going to use from the left pane. Drag and drop the plugin to the work space provided. For this example, we'll use the MQTT Gateway plugin.
To configure, double click the plugin and then complete the wizard that follows. Once completed, select the Logging tab and then select the Exception Logger you want to use from the drop-down menu. Click Save.
After you've configured your Gateway plugin, click Save & Deploy to run your pipeline.
Note: For more info on how to build and configure your pipeline, you may refer to the Basic Starter Guide.
Once your plugin is set, you need to create a connection for your device using a client simulator. For this example, we'll be using MQTTLens. Open the application, and then create a connection for your device by completing the following details:
- Connection name - Supply any name for your connection.
- Hostname - IP address generated upon deployment of your Reekoh pipeline.
- Port - Port number generated upon deployment of your Reekoh pipeline.
- Client ID - Device ID supplied or generated upon registration of your device.
Once completed, click Create Connection.
After your device connection is established, you need to send a JSON data to the MQTT Gateway. Enter the JSON data on the Message field, and then supply a value for Topic. Click Publish to send data to the MQTT Gateway.
Note: You can subscribe your device in order to see the incoming messages or notifications. Just type the device ID as Topic, and then click Subscribe.
If an error occurs, it will automatically be displayed in the Subscriptions section of your device.
Comments
0 comments
Please sign in to leave a comment.