Closed yeduy closed 2 years ago
I changed tb_utility.py with old version and it fixed. I think there is a bug on that code with new version. @zbeacon
@yeduy When I use the release version, everything works. When I compile the master branch, I get the same error with the SNMP connector. @zbeacon
@zbeacon
I get it working when replacing
if data.get("telemetry") is not None:
for entry in data.get("telemetry"):
if entry.get("ts") is not None and len(entry.get("values")) > 0:
got_telemetry = True
break
with
if data.get("telemetry") is not None:
for entry in data.get("telemetry"):
# if entry.get("ts") is not None and len(entry.get("values")) > 0:
got_telemetry = True
break
in tb_utility/tb_utility.py
The code expects a field "ts" and I currently don't have this in my config nor I see it in the documentation.
snmp.json:
"attributes": [],
"telemetry": [
{
"key": "title",
"method": "get",
"oid": "1.3.6.1.4"
},
Hi @JoachimVeulemans ,
This issue is fixed in the latest version and in the master branch. Please try to use it.
Describe the issue
Hello,
I was able to get data in old version with this config. Now I'm getting an error that I can't understand.
Configuration (Attach your configuration file)
`
Connector name (If you need help with some connector/converter): [e.g. Modbus Connector]
Error traceback (If it was raised):
Versions (please complete the following information):