From db23718f1484b8cd2047774edd67fcd1c3bce8b1 Mon Sep 17 00:00:00 2001 From: reimda Date: Wed, 22 Jun 2022 10:28:44 -0600 Subject: [PATCH] fix: don't require listeners to be present in overview (#9315) --- plugins/inputs/rabbitmq/rabbitmq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/rabbitmq/rabbitmq.go b/plugins/inputs/rabbitmq/rabbitmq.go index 358c6e25074dd..2742fd9d93d88 100644 --- a/plugins/inputs/rabbitmq/rabbitmq.go +++ b/plugins/inputs/rabbitmq/rabbitmq.go @@ -405,7 +405,7 @@ func gatherOverview(r *RabbitMQ, acc telegraf.Accumulator) { return } - if overview.QueueTotals == nil || overview.ObjectTotals == nil || overview.MessageStats == nil || overview.Listeners == nil { + if overview.QueueTotals == nil || overview.ObjectTotals == nil || overview.MessageStats == nil { acc.AddError(fmt.Errorf("Wrong answer from rabbitmq. Probably auth issue")) return }