- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: Custom Command Configuration
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
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
01-07-2004 06:32 AM
01-07-2004 06:32 AM
Thanks,
Tim McGue
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2004 07:12 AM
01-07-2004 07:12 AM
Re: Custom Command Configuration
I need to setup a Variable name for my attention server to allow SIM to known about it. so my Variable name would be ATTNSVR and the Value would be SERVERNAME <-- this is tghe real name of the server.
Parameters are use for the program that you are trying to execute. For example: the parameters for cmd.exe is /C
Hope that shed some light for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2004 07:28 AM
01-07-2004 07:28 AM
Re: Custom Command Configuration
Thanks Again,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2004 07:48 AM
01-07-2004 07:48 AM
Solutionc:\winnt\system32\attn.exe -a "communications" "
notice the SIm Builtin Variables I included them in %% do the same for you batch file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2004 08:00 AM
01-07-2004 08:00 AM
Re: Custom Command Configuration
The light is shining through now. I get it. I'm testing it out now.
Thanks,
Tim McGue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 03:14 AM
01-08-2004 03:14 AM
Re: Custom Command Configuration
I setup the command. I associated it with all events for all systems. I have the batch file placing results to a txt file. I can run the batch file itself.
The problem now is that it never runs from SIM. The task results shows that it runs and is complete each time it should be called, but my batch file is never called.
Are there any other logs I can look at that would point to why this command is not being called?
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 04:43 AM
01-08-2004 04:43 AM
Re: Custom Command Configuration
You will need to do some troubleshooting from your batch file perspective. First make sure that you can actually run that batch file from the command line and that it executes corretly. Second, Do some research on the problem that you are using and make sure that an environment variable for that program is necessary for it to work. you can check that by typing pathi n the command prompt. If an environment variable is necessary, you will need to include that in you batch file as well
se my earlier response to you. I had a similar issue and I found out that I was missing the ENV Variable ATTNSERV for the attn.exe program to work look below I pasted the content of one of my batch file that I use for notification through the attention software:
@echo off
SET ATTNSRV=SERVERNAME
REM run attn passing the file as a param
c:\winnt\system32\attn.exe -a "communications" "
Notice the line that says SET ATTNSRV=SERVERNAME ?
That's the variable I had to pass for the batch file to work properly in IM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 04:51 AM
01-08-2004 04:51 AM
Re: Custom Command Configuration
Yes, I can run the batch file by itself. It works correctly and produces the results I expect.
I do not need a system variable for the .exe I am running.
The command says it is completed within IM, but I have no proof or evidence of it actually running.
Are there any other logs or anything going on? What does it use for security to run the file on the system level? Do I need to grant specific permissions?
Thanks Again,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2004 02:52 AM
01-09-2004 02:52 AM
Re: Custom Command Configuration
EXCEPTION CLASS: com.hp.mx.exceptions.MxFailedAuthenticationException
EXCEPTION: Authentication failed.
If I remember right from another post these commands are launched with security through OpenSSH. I only have OpenSSH on the server system, not on any other system.
Do you have any ideas based upon this error?
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2004 03:08 AM
01-09-2004 03:08 AM
Re: Custom Command Configuration
To run custom commands you will need to install openssh on the client or server that's being monitored.