Server Management - Systems Insight Manager
1834162 Members
2509 Online
110064 Solutions
New Discussion

Re: Can anybody provide a example for 'Environment Variables for Custom Commands'?

 
xieyinghong
Occasional Contributor

Can anybody provide a example for 'Environment Variables for Custom Commands'?

Can anybody provide a example for 'Environment Variables for Custom Commands'?


Thanks!
2 REPLIES 2
Igor Karasik
Honored Contributor

Re: Can anybody provide a example for 'Environment Variables for Custom Commands'?

Read page 328-330 of "HP Systems Insight Manager 5.0 Technical Reference Guide"
http://h10018.www1.hp.com/wwsolutions/misc/hpsim-helpfiles/sys-book_5.pdf
Aravindh Rajaram
Honored Contributor

Re: Can anybody provide a example for 'Environment Variables for Custom Commands'?

SIM has the capability of using the environment variables defined at the OS level. It can also maintain it's own set of environment variables for each custom command and make use of them. I have attached the screenshots of the 2 different ways in which i make use of the environment variables.

In cmd1.jpg you can see that, i have defined 3 environment variables in SIM itself.

In cmd2.jpg you can see %VAR1% and %VAR2%. Both of these variables are defined in the OS.

Hope this helps.