- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- unable to execute custom commands
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2004 03:41 AM
03-28-2004 03:41 AM
I have tasks for alert forwarding to email working without problems but I can not execute a custom batch file.
I remember something with IM7 requiring a special account for the IM7 service but I have no info for HPSIM.
Maybe someone can shed some light on this for me ?
Thanks
Alain
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2004 07:42 AM
03-28-2004 07:42 AM
Re: unable to execute custom commands
Note that the Custom command uses SSH to log back into the IM Server.
Are you seeing any errors in the Task Log display?
I had problems when I created notification tasks under my account to call Custom Commands. I changed the "Run As" parameter for the Notification Task to be the Admin Account I created HPSIM in and also logged into this account to create the Custom Command. This worked.
Keep the Notification Task and Custom Command names different, you should see the Task results for both.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 01:46 AM
03-29-2004 01:46 AM
Re: unable to execute custom commands
As a test
1) I made a custom command "test batchfile" that runs a batchfile test123.bat
2) I then select Tools/Custom Command/"test batchfile"
3) select Run Now
4) select my management server as the target and excute
The custom command fails and in de Stderr I find
EXCEPTION CLASS: com.hp.mx.exceptions.MxFailedAuthenticationException
EXCEPTION: Authentication failed
I'm not yet building a notification task, just trying to manually run a custom command.
Do you mean that the custom command gets executed via OpenSSL on the system instead of opening a shell ?
Thanks for your clarification,
Alain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 02:57 AM
03-29-2004 02:57 AM
Re: unable to execute custom commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 07:34 AM
03-29-2004 07:34 AM
SolutionAs David has said it logs back in using SSH.
If you created the task under an Account that was added rather than the Account HPSIM was installed in, try deleting and recreating the custom command under that account.
Also, try logging into SSH. There's a SSH Utility in the OpenSSH bin directory or you can use putty. You should be able to login.
Also, as David suggested there are a number of steps to enabling OpenSSH on windows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 09:34 PM
03-29-2004 09:34 PM
Re: unable to execute custom commands
The resolution was indeed to login to HPSIM with the same user that was used to install HPSIM and run the HPSIM service.
After editing the custom command with this account I was able to run the custom command manually.
I used the putty application to verify that that account could login to the SSL service on the HPSIM service. (The user administrator does not seem to be able to login via OpenSSL to the server.)
I will now try and link the custom command with events via Automatic Event Handling.
Thanks for the help,
Alain