Operations Manager i Integrations User Discussions
cancel

Ci_collection relation to CI using CLI

Highlighted
Contributor.. Anupam Sharma Contributor..
Contributor..

Ci_collection relation to CI using CLI

Hello,

On OBM we have CI_collectors, and CI's. The CI_collectors have a membership relation to the CI. This allows us to group the CI's into different view, and controll permissions for the events generated by the CI's. 

I know how to do this using the GUI, and RTSM, however would like to automate the CI additions/deletion process and need to know the CLI command to achive this.

Right now I can use "opr-node" to add the CI into OBM, but I dont know how to establish that CI_collector to CI relation using CLI.

If someone here could help me figure out the CLI to do that, I'd really appreciate it,


Thank you,

1 REPLY
Contributor.. Anupam Sharma Contributor..
Contributor..

Re: Ci_collection relation to CI using CLI

It seems like "command" works, and adds the node to the ci_collector. you do have to make sure the ci_collector name is correct. 

 

command = opr-node -node_name "name" -ip_addr "ip" -ci_name "name" -node_group "ci_collector_name"