How does Pentaho for RemedyForce download the information from the BMC Client Management database to integrate it into BMC RemedyForce CMDB?
|
The web api "POST /cmdb/import" is used to generate two files on the master. You can check this by: - going to the web api web page which looks something like http(s)://_YOUR_MASTER_HOSTNAME_:_YOUR_AGENT_OR_WEB_API_PORT_/wsdoc, e.g: https://MyMaster.MyDomain:1616/wsdoc
https://MyMaster.MyDomain:1610/wsdoc - login as a super admin, at the top of the page:
- to help you make sure the password has been taken into account, click on "device" in the section "Summary of API Documentation" to unfold the snippet
- set your admin in the field "User:"
- set his password in the field "Password:" - while style active in the field, type Enter - the snippet "device" below should reload, if it does you'll know the admin is logged in - go to the api documentation "cmdb" then select "POST /cmdb/import"
- set it like this: The test to set in the field "cmdbData" is: {
"view": "Atrium_CMDB_ComputerSystem" } Warning: pay extra attention to not to add any space or unwanted character in there, else you'll encounter an error 25.
Note: Do not pay attention to the error "400 Invalid data provided." you'll above the button "Try It out!" it will always be there and is not an issue. You should then: - obtain a response body similar to this in the section that is below the button "Try It Out!": - find the file Atrium_CMDB_ComputerSystem.csv.zip into a sub folder of the path ..\Master\data\Vision64Database\cmdbdata\ on your master.
In this example, the response body show the sub folder name is "FF01A1F7DF41CFFD6329D17887E7D633" and he agent of the master is installed in the path "C:\Program Files\BMC Software\Client Management\Master"so the exact path to the file would be: C:\Program Files\BMC Software\Client Management\Master\data\Vision64Database\cmdbdata\FF01A1F7DF41CFFD6329D17887E7D633
|