Skip to content

Commit

Permalink
Don't require listeners to be present in overview
Browse files Browse the repository at this point in the history
  • Loading branch information
reimda committed May 28, 2021
1 parent 8eec159 commit 8882506
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 @@ -408,7 +408,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 8882506

Please sign in to comment.