cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get Node state without specifying pool information?

SOLVED
riverbedjo
Contributor

How do I get Node state without specifying pool information?

I need to find the state of a node but I do not have the pool information. I have the name of the node . Is there a way I can determine the state of the Node and set it to the desired state without having to specify Pool without looping through all the Pools to look for the Node?


Currently ,I use Stingray API with Python and we use version 6.x

1 ACCEPTED SOLUTION

Accepted Solutions
owen
Frequent Contributor

Re: How do I get Node state without specifying pool information?

Assuming you are referring to activity state (ie. active, draining or disabled) then you will need the pool information because a node can be in a different state in different pools. If you are referring to the health status of the node then this can be retrieved without the pool name via snmp.

View solution in original post

1 REPLY 1
owen
Frequent Contributor

Re: How do I get Node state without specifying pool information?

Assuming you are referring to activity state (ie. active, draining or disabled) then you will need the pool information because a node can be in a different state in different pools. If you are referring to the health status of the node then this can be retrieved without the pool name via snmp.