HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Custom Command
Server Management - Systems Insight Manager
1834196
Members
2531
Online
110065
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-03-2004 09:46 PM
08-03-2004 09:46 PM
Custom Command
I have trouble executing a custom command.
What I want is to have sim execute a batch file with a specific alert/event. The batch file is pretty simple and should generate a text file. The automatic event is set up properly, I am receiving the email alerts. only problem is that the batch file is not executed although the status is complete. If i manually execute the batch file from explorer the batch file works. For some reason it does not work triggering the batch file by an automatic event.
Any suggestions would be appreciated.
What I want is to have sim execute a batch file with a specific alert/event. The batch file is pretty simple and should generate a text file. The automatic event is set up properly, I am receiving the email alerts. only problem is that the batch file is not executed although the status is complete. If i manually execute the batch file from explorer the batch file works. For some reason it does not work triggering the batch file by an automatic event.
Any suggestions would be appreciated.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 01:59 AM
08-04-2004 01:59 AM
Re: Custom Command
Try writing the output of each command to a file with a redirection so you can examine if the batch file is executing at all or is failing at a particular point. Remeber you need to use absolute pathnames because you don't know the context the batch will execute with.
One thing I have seen with batch files is in assigning variables, CMD.EXE isn't always very good at maintaining persistent values. In those cases, I've solved the problem by replacing the batch file with a Perl script.
One thing I have seen with batch files is in assigning variables, CMD.EXE isn't always very good at maintaining persistent values. In those cases, I've solved the problem by replacing the batch file with a Perl script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 03:17 AM
08-04-2004 03:17 AM
Re: Custom Command
Sorry I was not looking correctly. The status of the custom command is fasiled.
It gives the following stderr
EXCEPTION CLASS: com.hp.mx.dtf.sshClient.MxSshFailedConnectionException
EXCEPTION: Unable to contact the SSH server on node "nldhw2k82.okioc.com".
I don't know much about SSH, anyone knows how to resolve this? How can I add an admin user to the SSH if it is SSH rights related?
It gives the following stderr
EXCEPTION CLASS: com.hp.mx.dtf.sshClient.MxSshFailedConnectionException
EXCEPTION: Unable to contact the SSH server on node "nldhw2k82.okioc.com".
I don't know much about SSH, anyone knows how to resolve this? How can I add an admin user to the SSH if it is SSH rights related?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 03:58 AM
08-04-2004 03:58 AM
Re: Custom Command
Is there a way around the SSH problem? I don't need to loggin a remote computer. I simply want to execute a local batch file that's all.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP