Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
bshuanour
Explorer

Find out an object is part of a cluster or simple gateway by passing the name

Is there a way using mgmt_cli to determine if an object is part of a cluster or just a simple gateway by passing it a name, i tried the following commands but not luck

 

Actual cluster name - TEST

members are TESTA and TESTB

 

mgmt_cli -s sid.txt show cluster-member name "TESTA"

code: "generic_err_invalid_parameter_name"
message: "Unrecognized parameter [name]"

 

mgmt_cli -s sid.txt show simple-gateway name "TESTA"
code: "generic_err_object_not_found"
message: "Requested object [TESTA] not found"

 

0 Kudos
1 Reply
PhoneBoy
Admin
Admin

Yes, because name is not a support argument for show cluster-member.
See: https://sc1.checkpoint.com/documents/latest/APIs/#cli/show-cluster-members~v1.9.1%20
If you're looking for a specific cluster member, use the "filter" option else all cluster members will be returned by the API call.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events