Closed
Description
Relevant telegraf.conf:
[[inputs.rabbitmq]]
## Management Plugin url. (default: http://localhost:15672)
url = "http://1.2.3.4:15672"
username = "username"
password = "password"
System info:
Windows Server 2019
Telegraf v1.19.0
RabbitMQ 3.8.14
Erlang 23.2.7
Steps to reproduce:
- Configure inputs.rabbitmq
- Run a test collection
telegraf.exe --config "C:\Program Files\Telegraf\telegraf.conf" --test --input-filter rabbitmq --debug
Expected behavior:
Collection should complete without errors.
Actual behavior:
There are unmarshal errors within the collection
2021-06-16T16:17:01Z E! [inputs.rabbitmq] Error in plugin: json: cannot unmarshal object into Go value of type []rabbitmq.FederationLink
2021-06-16T16:17:01Z E! [inputs.rabbitmq] Error in plugin: json: cannot unmarshal number 0.0 into Go struct field Node.io_read_avg_time of type int64
2021-06-16T16:17:01Z E! [telegraf] Error running agent: input plugins recorded 2 errors
Additional info:
Telegraf v1.18.1 on the same system does not show the unmarshal errors.
Activity