Skip to main content

Software  >  Tivoli  >  Products  >  IBM Tivoli Monitoring  >  

Referencing Configuration Parameters within Agent Builder Scripts

 Technote (FAQ)
 
Question
How you can reference parameters that are set in the agent configuration within scripts when developing a solution using the agent builder?
 
Answer
There are two primary ways to reference configuration parameters within agent builder scripts. The method used will depend on the type of parameter desired to use.

Retrieving the name of the subnode is done with either $IDLABEL or %IDLABEL% , depending on the operating environment. This variable will return exactly what the subnode name has been configured to and nothing more. It will not contain the agent product code.

All other configuration parameters can be retrieved by referencing either $KXX_VARIABLE_NAME or %KXX_VARIABLE_NAME% where XX is the product code for the agent builder agent and VARIABLE_NAME is the name of the desired configuration parameter. This value is also displayed within the agent builder GUI on the "Runtime Configuration" tab under "Environment variable" as shown below:





Both of the above mentioned variables may be directly references in shell scripts or batch files run by the agent.

 
 
Product Alias/Synonym
ITM
Monitoring
AB
Agent Builder
 
 
 

Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Rate this page
Please take a moment to complete this form to help us better serve you.
This material provides me with the information I need.




This material is clear and easy to understand.




Did the information help you to achieve your goal?
What updates, improvements, or related information would you like to see in this document?
Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.
Input the verification number to submit feedback:
Document information
 Product categories:
 Software
 Systems and Asset Management
 Application Performance & Availability
 IBM Tivoli Monitoring
 Operating system(s):
  AIX, HP-UX, Linux, Solaris, Windows
 Software version:
  6.2, 6.2.1
 Reference #:
  1378420
 IBM Group:
 Software Group
 Modified date:
 2009-03-20

Translate My Page
 
 

Rate this page

Help us improve this page. Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.