When using secretstores plugin on Windows the password only works when hard coded into Rabbit MQ plugin config. Secretstores password reference not working. Same config works on Linux.
telegraf --config C:\telegraf-1.25.3_windows_amd64\telegraf-1.25.3\telegraf-conf.conf secrets set apc_store token
[[secretstores.jose]]
id = “apc_store”
path = “c:\telegraf-1.25.3_windows_amd64\secrets”
password = “abc123”
[[inputs.rabbitmq]]
Management Plugin url. (default: http://localhost:15672)
url = http://localhost:15672
Tag added to rabbitmq_overview series; deprecated: use tags
name = “rmq-server-1”
Credentials
username = “guest”
password = “guest”
password = “@{apc_store:token}”
Optional TLS Config
tls_ca = “/etc/telegraf/ca.pem”
tls_cert = “/etc/telegraf/cert.pem”
tls_key = “/etc/telegraf/key.pem”
Use TLS but skip chain & host verification
insecure_skip_verify = false
Optional request timeouts
ResponseHeaderTimeout, if non-zero, specifies the amount of time to wait
for a server’s response headers after fully writing the request.
header_timeout = “3s”
client_timeout specifies a time limit for requests made by this client.
Includes connection time, any redirects, and reading the response body.
client_timeout = “4s”
A list of nodes to gather as the rabbitmq_node measurement. If not
specified, metrics for all nodes are gathered.
nodes = [“rabbit@node1”, “rabbit@node2”]
A list of queues to gather as the rabbitmq_queue measurement. If not
specified, metrics for all queues are gathered.
Deprecated in 1.6: Use queue_name_include instead.
queue_name_include = [“Azure-test”]