You can configure HP SIM to contain a tool that executes a command line program on multiple target servers to uninstall the HP Insight Management Agents for Windows® (6.30 or later).
To configure HP SIM to contain the Uninstall Agents Tool:
If you use a different drive or folder,
edit the agents-uninstall.xml file and replace c:\hpagun
in the following line with
the drive and folder used:
<source>c:\hpagun\UninstallAgents.exe</source>
These files are located in the \AgentUninstall directory of the Insight Provider documentation:
<source>c:\hpagun\UninstallAgents.exe</source> to <source>/tmp/hpagun/UninstallAgents.exe</source>
mxtool -a -f agents-uninstall.xml
When the Uninstall Agents Tool is added to HP SIM, the following messages appear:
Successfully parsed tools file.
Successfully added tool named "Uninstall HP Insight Management Agents"
Successfully added 1 tool
If OpenSSH is not installed, install it on the target servers:
mxagentconfig -a [-n hostname] [-u login user name] [-p password]
For more information, use the help system.
To run the Uninstall Agents Tool from HP SIM:
The Uninstall Agents Tool displays the task results in the Stdout results area.