<?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: Run UPTIME.EXE against selected server in Server Management - Systems Insight Manager</title>
    <link>https://community.hpe.com/t5/server-management-systems/run-uptime-exe-against-selected-server/m-p/3152639#M74</link>
    <description>Using 'Custom Commands' you could create an entry to run 'uptime %devicename%' and it would do what you want.&lt;BR /&gt;&lt;BR /&gt;You could also create a custom menu item to run uptime.exe (assuming you have SSH installed on all the managed servers) by extracting one of the existing tool definitions (I'd recommend netstat) via the CLI (mxtool in this case), editing it to run uptime instead, and then importing it back into HP SIM.&lt;BR /&gt;&lt;BR /&gt;I believe the steps to be (forgive me I am trying to remember all the CLI switches from memory) as below.&lt;BR /&gt;&lt;BR /&gt;Extract the entry:&lt;BR /&gt;mxtool -l -f -t netstat &amp;gt; netstat.xml&lt;BR /&gt;&lt;BR /&gt;Copy it:&lt;BR /&gt;copy netstat.xml uptime.xml&lt;BR /&gt;&lt;BR /&gt;Edit uptime.xml to run 'uptime' instead of netstat - note that you can also include other parameters if you want, such as /s.  You'll also want to name the tool 'uptime' instead of 'netstat' and change the menu name to 'Uptime...'&lt;BR /&gt;&lt;BR /&gt;Import it:&lt;BR /&gt;mxtool -a -f uptime.xml</description>
    <pubDate>Sat, 03 Jan 2004 03:22:52 GMT</pubDate>
    <dc:creator>Scott Shaffer</dc:creator>
    <dc:date>2004-01-03T03:22:52Z</dc:date>
    <item>
      <title>Run UPTIME.EXE against selected server</title>
      <link>https://community.hpe.com/t5/server-management-systems/run-uptime-exe-against-selected-server/m-p/3152637#M72</link>
      <description>I would like to run the Windows uptime.exe utility against a selected server as a custom tool. Anybody have a good example how to accomplish this? The documentation I have found isn't very specific.&lt;BR /&gt;&lt;BR /&gt;The hope would be that my operations staff could use this tool to check the system uptime after a network outage to detect if the system was actually down or just a network glich. &lt;BR /&gt;&lt;BR /&gt;Could also use this same command with different parameters to run a scheduled task for system uptime reporting.</description>
      <pubDate>Fri, 26 Dec 2003 14:02:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/run-uptime-exe-against-selected-server/m-p/3152637#M72</guid>
      <dc:creator>John Kramer</dc:creator>
      <dc:date>2003-12-26T14:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Run UPTIME.EXE against selected server</title>
      <link>https://community.hpe.com/t5/server-management-systems/run-uptime-exe-against-selected-server/m-p/3152638#M73</link>
      <description>Anybody have any idea's about this?</description>
      <pubDate>Wed, 31 Dec 2003 12:35:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/run-uptime-exe-against-selected-server/m-p/3152638#M73</guid>
      <dc:creator>John Kramer</dc:creator>
      <dc:date>2003-12-31T12:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Run UPTIME.EXE against selected server</title>
      <link>https://community.hpe.com/t5/server-management-systems/run-uptime-exe-against-selected-server/m-p/3152639#M74</link>
      <description>Using 'Custom Commands' you could create an entry to run 'uptime %devicename%' and it would do what you want.&lt;BR /&gt;&lt;BR /&gt;You could also create a custom menu item to run uptime.exe (assuming you have SSH installed on all the managed servers) by extracting one of the existing tool definitions (I'd recommend netstat) via the CLI (mxtool in this case), editing it to run uptime instead, and then importing it back into HP SIM.&lt;BR /&gt;&lt;BR /&gt;I believe the steps to be (forgive me I am trying to remember all the CLI switches from memory) as below.&lt;BR /&gt;&lt;BR /&gt;Extract the entry:&lt;BR /&gt;mxtool -l -f -t netstat &amp;gt; netstat.xml&lt;BR /&gt;&lt;BR /&gt;Copy it:&lt;BR /&gt;copy netstat.xml uptime.xml&lt;BR /&gt;&lt;BR /&gt;Edit uptime.xml to run 'uptime' instead of netstat - note that you can also include other parameters if you want, such as /s.  You'll also want to name the tool 'uptime' instead of 'netstat' and change the menu name to 'Uptime...'&lt;BR /&gt;&lt;BR /&gt;Import it:&lt;BR /&gt;mxtool -a -f uptime.xml</description>
      <pubDate>Sat, 03 Jan 2004 03:22:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/run-uptime-exe-against-selected-server/m-p/3152639#M74</guid>
      <dc:creator>Scott Shaffer</dc:creator>
      <dc:date>2004-01-03T03:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Run UPTIME.EXE against selected server</title>
      <link>https://community.hpe.com/t5/server-management-systems/run-uptime-exe-against-selected-server/m-p/3152640#M75</link>
      <description>Go info thanks.</description>
      <pubDate>Sat, 03 Jan 2004 11:33:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/run-uptime-exe-against-selected-server/m-p/3152640#M75</guid>
      <dc:creator>John Kramer</dc:creator>
      <dc:date>2004-01-03T11:33:54Z</dc:date>
    </item>
  </channel>
</rss>

