3.3.1 Creating an Agents tree
-
Export the template of the Agents tree definition file.
To export the template file, execute the jpcconf agttree export with the -template option specified. For example:
jpcconf agttree export -template -f agttree_def.xml
-
Edit the exported Agents tree definition file.
For details on the format of the Agents tree definition file, see the chapter on commands in the manual JP1/Performance Management Reference.
The following is an example of the contents of an Agent tree definition file:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE tree SYSTEM "agttree_param.dtd"> <tree owner="pfm-user"> <folder name="Test Company"> <folder name="Business Department"> <agent name="7A1inst_BD[tHOST_01@host_111]"/> </folder> <folder name="Development Department"> <agent name="7A1inst_DD[tHOST_02@host_111]"/> <agent name="7A1inst_DD[tHOST_03@host_111]"/> </folder> <agent name="TA1host_111"/> </folder> <agent name="TA1host_999"/> </tree>
-
Import the Agents tree definition file.
Use the jpcconf agttree import command to import the Agents tree definition file. For example:
jpcconf agttree import -f agttree_def.xml
If you want to specify an agent not recognized by Performance Management (an agent that does not appear in the Products tree), specify the -nocheck option. If you do not specify the -nocheck option, processing stops when Performance Management encounters an agent it does not recognize.
In a logical host environment, specify the logical host name in the -lhost option.
The Agents tree you created appears in the Agents window when you refresh the window contents or you log off from PFM - Web Console and log on again.