When there are multiple datapoints per single channel (such as bandwidth sensors, netflow sensors), the channel list shows as simply "Bytes Sent", but in the data, there are multiple entries bound to the same channel ID, making it impossible to choose the right one.
For example:
- 1, we query list of channels by sensor: Channel List:
{ "objid": 1, "objid_raw": 1, "channel": "", "channel_raw": "", "sensor": "", "sensor_raw": "", "name": "Bytes Sent" },
Data:
<value channel="Bytes Sent (volume)" channelid="1">3,691 KByte</value> <value_raw channel="Bytes Sent (volume)" channelid="1">3779761.8783</value_raw> <value channel="Bytes Sent (speed)" channelid="1">24 kbit/s</value> <value_raw channel="Bytes Sent (speed)" channelid="1">2986.0656</value_raw>
Does not match.
If using numeric ID to match, it'll match on both, resulting in the last item being used.
Add comment