Skip to content

check-rabbitmq-node-health picks only first nodes in the cluster #43

Open
@rgedagit

Description

@rgedagit

When we have a list of nodes in cluster it always pick first nodes in list and show health is ok.

call is made for nodes ("#{url_prefix}://#{host}:#{port}/api/nodes/) -> returns a list of all nodes in cluster
function to pick node nodeinfo = JSON.parse(resource.get)[0] -> picked first nodes in the list.

ex: if the list is rabbitmq1, rabbitmq2, rabbitmq3, it checks the health on rabbitmq1 only always as it is first is list.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions