Creating custom tool definition files for HP Systems Insight Manager 5.1 or greater (481365-002, January 2009)

13
Configure each managed system that is to run tool
s with the user account. If the current users
account was used to install OpenSSH, then the
managed system
should be correctly configured. If
a different account is used, then the administrator should either run the “Configure or Repair
Agents” tool on the
systems (specifying the administrator or other account to be used by the SSH),
or perform the following steps:
a.
Add the administrator user to the passwd file using the “sshuser” utility on the managed
system. Example:
sshuser
u MyUser
d MyDomain
f ”C:
\
P
rogram
Files
\
OpenSSH
\
etc
\
passwd”
b.
Run
mxagentconfig
on the CMS to configure public key authentication for the administrator
user. Example:
mxagentconfig
-
a
-
n <managed system>
-
u MyDomain
\
MyUser
N
ote
:
For more information about mxtool command parameters,
r
efer to
Appendix B: mxtool command parameters
.
This concludes the procedures for creating TDEFs manually using the CLI of HP SIM. To view changes
to TDEFs, refresh the HP SIM GUI by selecting the system list. A soft
ware restart is not necessary.
Creating custom tools with the HP SIM GUI
The HP SIM user interface allows
you
to quickly create custom tools and TDEFs without having to deal
intimately with the XML format.
H
owever,
note
that the XML requirements for a TDE
F remain the same
as described previously for creating TDEFs manually. The TDEF files created through the GUI may be
saved and modified manually by advanced users at a later time.
The GUI provides new custom tools, which run on the CMS and against target n
odes
Creating Custom Tools
The HP SIM GUI allows you to create the following tools without creating XML script manually:
Remote tool (SSA)
CMS tool (MSA)
Web page tool
Creating a New Remote Tool
The remote tool allows you to run a command on each selected
target. SSH must be installed and
configured on each target for the tool to run.
After you create a new tool, the tool displays in the
Custom Tools
menu.
To create a new remote tool, open HP SIM and perform the following steps:
1.
At the main HP SIM window,
in the top menu bar click
Tools
>
Custom Tools > New Custom Tool
.
Step 1 of the
New Custom Tool
window appears as shown in
Figure
1
.