While try to run show-group name on mgmt cli, I'm getting below error.
mgmt_cli -r true show-group name "network_Object1" --format json | jq '.members[] | [.name] |@csv' -r
Error: Failed to login to the management server
while checking api status, I'm getting below error
[Expert@dcfw:0]# api status
cat: /opt/CPsuite-R80.40/fw1/conf/cpmServerSettings.props: No such file or directory
Script may not be run on non-management servers.
[Expert@dcfw:0]# mgmt_cli show group name network_Object1
Username: xxxxxx
Password:
message: "The Management API service is not available. Please check that the Management API server is up and running."
code: "generic_error"
How to enable management API on checkpoint expert screen and get network object in checkpoint firewall.