<?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: Windows uptime alert in Windows Server 2003</title>
    <link>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653662#M6174</link>
    <description>The eventlog service writes a log entry at midday of the form&lt;BR /&gt;"The system uptime is n seconds"&lt;BR /&gt;Write a script to send email if n &amp;gt; 604800&lt;BR /&gt;&lt;BR /&gt;Phil&lt;BR /&gt;</description>
    <pubDate>Mon, 28 Jun 2010 22:55:04 GMT</pubDate>
    <dc:creator>Phil.Howell</dc:creator>
    <dc:date>2010-06-28T22:55:04Z</dc:date>
    <item>
      <title>Windows uptime alert</title>
      <link>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653655#M6167</link>
      <description>We have few Windows 2003 server which are rebooted on weekly basis by script. Most of the time all servers are rebooted sucessfully but now we see that some of the server are not getting reboot command and they continue to be up for more than 7 days. Is there any way by which I configure some script that will send me e-mail alert if server uptime is more than 7 days.&lt;BR /&gt;&lt;BR /&gt;Please assist.</description>
      <pubDate>Mon, 28 Jun 2010 11:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653655#M6167</guid>
      <dc:creator>Manoj_Singh</dc:creator>
      <dc:date>2010-06-28T11:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Windows uptime alert</title>
      <link>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653656#M6168</link>
      <description>Hi Manoj,&lt;BR /&gt;&lt;BR /&gt;Welcome to the ITRC forum.&lt;BR /&gt;&lt;BR /&gt;Check the following link -&lt;BR /&gt;&lt;A href="http://www.top4download.com/free-server-uptime/" target="_blank"&gt;http://www.top4download.com/free-server-uptime/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This has various tools that provide the uptime alerts.&lt;BR /&gt;You can go through this and select the one based on your requirements.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Also, as you are new to the forum&lt;BR /&gt;Refer the following link which says how you can thank the forum -&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Mon, 28 Jun 2010 12:33:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653656#M6168</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2010-06-28T12:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Windows uptime alert</title>
      <link>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653657#M6169</link>
      <description>Hi Murali,&lt;BR /&gt;&lt;BR /&gt;Thanks for prompt reply, I am already using uptime command provided by Microsoft and I use that to get the uptime of all my servers. What I am trying to do now, setup schedule task which will run weekly, get the uptime and send the email to me and my support team if server is not rebooted as per the schedule. In current case, I am rebooting more than 100 servers on weekly basis in 10 minutes interval. &lt;BR /&gt;&lt;BR /&gt;I hope this make sense.&lt;BR /&gt;&lt;BR /&gt;Thanks once again.</description>
      <pubDate>Mon, 28 Jun 2010 12:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653657#M6169</guid>
      <dc:creator>Manoj_Singh</dc:creator>
      <dc:date>2010-06-28T12:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Windows uptime alert</title>
      <link>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653658#M6170</link>
      <description>Also, In this case if I want to use third party software then I will have to go thru long process of applying use of that software and its really lengthy process which I would like to avoid so I want some script which can perform this for me.</description>
      <pubDate>Mon, 28 Jun 2010 12:50:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653658#M6170</guid>
      <dc:creator>Manoj_Singh</dc:creator>
      <dc:date>2010-06-28T12:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Windows uptime alert</title>
      <link>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653659#M6171</link>
      <description>Hi Manoj,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I hope this make sense.&lt;BR /&gt;Yes, your requirement is clear to me know.&lt;BR /&gt;You know the command, all you need is a script that could be run at scheduled&lt;BR /&gt;interval of time.&lt;BR /&gt;&lt;BR /&gt;Try using the Scheduled Tasks feature of windows. Create a Scheduled task to&lt;BR /&gt;execute the UPTIME commands that you already have. Schedule it at regular&lt;BR /&gt;intervals of time based on the frequency that you want.&lt;BR /&gt;&lt;BR /&gt;For using Scheduled Tasks, Refer -&lt;BR /&gt;&lt;A href="http://support.microsoft.com/kb/308569" target="_blank"&gt;http://support.microsoft.com/kb/308569&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Mon, 28 Jun 2010 13:10:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653659#M6171</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2010-06-28T13:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Windows uptime alert</title>
      <link>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653660#M6172</link>
      <description>Thanks Murali,&lt;BR /&gt;&lt;BR /&gt;I have configured the schedule task to run exactly after 30 mins of my schedule reboot and its giving the desired result also. My issue, how can I receive that uptime result saved .txt file mailed to my support team without usage of any SMTP server but yes I have configure IIS with ASP.Net so any VB script can be executed there.</description>
      <pubDate>Mon, 28 Jun 2010 13:17:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653660#M6172</guid>
      <dc:creator>Manoj_Singh</dc:creator>
      <dc:date>2010-06-28T13:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Windows uptime alert</title>
      <link>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653661#M6173</link>
      <description>Hi Manoj,&lt;BR /&gt;&lt;BR /&gt;Instead of scheduling your uptime command as a scheduled task, you can&lt;BR /&gt;try the following -&lt;BR /&gt;&lt;BR /&gt;Add a scheduled task to run a batch file. Configure it so that it would&lt;BR /&gt;get executed as per the schedule you want.&lt;BR /&gt;The batch file would do a set of activities&lt;BR /&gt;- Run the Uptime command&lt;BR /&gt;- Send mail&lt;BR /&gt;- others...&lt;BR /&gt;&lt;BR /&gt;Check the following link -&lt;BR /&gt;* Send e-mails by batch&lt;BR /&gt;&lt;A href="http://www.robvanderwoude.com/email.php" target="_blank"&gt;http://www.robvanderwoude.com/email.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This link talks about how you can send emails from within a batch file.&lt;BR /&gt;&lt;BR /&gt;This should help you get the desired results.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Mon, 28 Jun 2010 13:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653661#M6173</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2010-06-28T13:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Windows uptime alert</title>
      <link>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653662#M6174</link>
      <description>The eventlog service writes a log entry at midday of the form&lt;BR /&gt;"The system uptime is n seconds"&lt;BR /&gt;Write a script to send email if n &amp;gt; 604800&lt;BR /&gt;&lt;BR /&gt;Phil&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jun 2010 22:55:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/windows-uptime-alert/m-p/4653662#M6174</guid>
      <dc:creator>Phil.Howell</dc:creator>
      <dc:date>2010-06-28T22:55:04Z</dc:date>
    </item>
  </channel>
</rss>

