Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
Contributor.. Anupam Sharma Contributor..
Contributor..
238 views

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,

0 Likes
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" 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.