<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom Command in Server Management - Systems Insight Manager</title>
    <link>https://community.hpe.com/t5/server-management-systems/custom-command/m-p/3349009#M4850</link>
    <description>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.</description>
    <pubDate>Wed, 04 Aug 2004 10:58:09 GMT</pubDate>
    <dc:creator>So Def</dc:creator>
    <dc:date>2004-08-04T10:58:09Z</dc:date>
    <item>
      <title>Custom Command</title>
      <link>https://community.hpe.com/t5/server-management-systems/custom-command/m-p/3349006#M4847</link>
      <description>I have trouble executing a custom command.&lt;BR /&gt;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. &lt;BR /&gt;Any suggestions would be appreciated.</description>
      <pubDate>Wed, 04 Aug 2004 04:46:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/custom-command/m-p/3349006#M4847</guid>
      <dc:creator>So Def</dc:creator>
      <dc:date>2004-08-04T04:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Command</title>
      <link>https://community.hpe.com/t5/server-management-systems/custom-command/m-p/3349007#M4848</link>
      <description>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.&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Wed, 04 Aug 2004 08:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/custom-command/m-p/3349007#M4848</guid>
      <dc:creator>David Claypool</dc:creator>
      <dc:date>2004-08-04T08:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Command</title>
      <link>https://community.hpe.com/t5/server-management-systems/custom-command/m-p/3349008#M4849</link>
      <description>Sorry I was not looking correctly. The status of the custom command is fasiled.&lt;BR /&gt;It gives the following stderr&lt;BR /&gt;&lt;BR /&gt;EXCEPTION CLASS: com.hp.mx.dtf.sshClient.MxSshFailedConnectionException&lt;BR /&gt;EXCEPTION: Unable to contact the SSH server on node "nldhw2k82.okioc.com".&lt;BR /&gt;&lt;BR /&gt;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?</description>
      <pubDate>Wed, 04 Aug 2004 10:17:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/custom-command/m-p/3349008#M4849</guid>
      <dc:creator>So Def</dc:creator>
      <dc:date>2004-08-04T10:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Command</title>
      <link>https://community.hpe.com/t5/server-management-systems/custom-command/m-p/3349009#M4850</link>
      <description>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.</description>
      <pubDate>Wed, 04 Aug 2004 10:58:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/custom-command/m-p/3349009#M4850</guid>
      <dc:creator>So Def</dc:creator>
      <dc:date>2004-08-04T10:58:09Z</dc:date>
    </item>
  </channel>
</rss>

