Skip to main content
Version: 0.12.0

How to trouble shoot device monitoring

To install and configure monitoring on your device, see the tutorial Monitor your device with collectd.

Is collectd running?

sudo systemctl status collectd

If not, launch collected

sudo systemctl start collectd

Is collectd publishing MQTT messages?

tedge mqtt sub 'collectd/#'

If no metrics are collected, please check the MQTT configuration

Is the tedge-mapper-collectd running?

sudo systemctl status tedge-mapper-collectd

If not, launch tedge-mapper-collectd.service as below

sudo systemctl start tedge-mapper-collectd

Are the collectd metrics published in Thin Edge JSON format?

tedge mqtt sub 'tedge/measurements'

Are the collectd metrics published to Cumulocity IoT?

tedge mqtt sub 'c8y/#'

If not see how to connect a device to Cumulocity IoT.

Are the collectd metrics published to Azure IoT?

tedge mqtt sub 'az/#'

If not see how to connect a device to Azure IoT.