Skip to content

Commit

Permalink
fix: don't require listeners to be present in overview (#9315)
Browse files Browse the repository at this point in the history
(cherry picked from commit db23718)
  • Loading branch information
reimda authored and Sven Rebhan committed Jul 5, 2022
1 parent 7739c85 commit b3c194e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/rabbitmq/rabbitmq.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b3c194e

Please sign in to comment.