<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Create a Script-Based Unit Monitor in OpsMgr2007 via the GUI</title>
	<atom:link href="http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/</link>
	<description></description>
	<lastBuildDate>Fri, 05 Mar 2010 16:48:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tim</title>
		<link>http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/comment-page-1/#comment-2290</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 01 Jul 2009 14:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=32#comment-2290</guid>
		<description>First Test the script on the local box with that user.  If the SCOM agent it on the box you can log on as that user copy the vb script locally and then run it from the command line.  So like C:\cscript &quot;C:\temp\My.txt&quot;</description>
		<content:encoded><![CDATA[<p>First Test the script on the local box with that user.  If the SCOM agent it on the box you can log on as that user copy the vb script locally and then run it from the command line.  So like C:\cscript &#8220;C:\temp\My.txt&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Bradshaw</title>
		<link>http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/comment-page-1/#comment-2284</link>
		<dc:creator>John Bradshaw</dc:creator>
		<pubDate>Wed, 01 Jul 2009 04:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=32#comment-2284</guid>
		<description>Not sure I follow all that (Sorry not really used to some of this stuff), but if I change the script back to C:\temp\My.txt, and use an override to enable the monitor on the remote server (Still part of the same domain), will that work?? (It doesn’t seem to.... ;) 

Is it still a permissions issue do you think (I’m guessing yes), but is there no way that this monitor can be created from just the SCOM console?

Appreciate you help very much.</description>
		<content:encoded><![CDATA[<p>Not sure I follow all that (Sorry not really used to some of this stuff), but if I change the script back to C:\temp\My.txt, and use an override to enable the monitor on the remote server (Still part of the same domain), will that work?? (It doesn’t seem to&#8230;. <img src='http://www.scom2k7.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<p>Is it still a permissions issue do you think (I’m guessing yes), but is there no way that this monitor can be created from just the SCOM console?</p>
<p>Appreciate you help very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/comment-page-1/#comment-2283</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 01 Jul 2009 04:30:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=32#comment-2283</guid>
		<description>That is because all monitors and rules run as local system.  What you will have to do is create a run as account.  Store it in the mp.  Then create the script.  Go into the Advanced Authoring console (not the regular authoring console).  Change the script monitor to run as that new run as account.  Also make sure the the run as account has access to the remote server share. 

Let me know if you need me to explain it better.</description>
		<content:encoded><![CDATA[<p>That is because all monitors and rules run as local system.  What you will have to do is create a run as account.  Store it in the mp.  Then create the script.  Go into the Advanced Authoring console (not the regular authoring console).  Change the script monitor to run as that new run as account.  Also make sure the the run as account has access to the remote server share. </p>
<p>Let me know if you need me to explain it better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Bradshaw</title>
		<link>http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/comment-page-1/#comment-2282</link>
		<dc:creator>John Bradshaw</dc:creator>
		<pubDate>Wed, 01 Jul 2009 01:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=32#comment-2282</guid>
		<description>Hi,
If I change the line 
strFileName = “c:\testfolder\testfile.txt”
to 
strFileName = “\\RemoteServer\temp\My.txt”

it doesn&#039;t seem to work if I delete my.txt.

Does the script need a local path?
Thx,
JB</description>
		<content:encoded><![CDATA[<p>Hi,<br />
If I change the line<br />
strFileName = “c:\testfolder\testfile.txt”<br />
to<br />
strFileName = “\\RemoteServer\temp\My.txt”</p>
<p>it doesn&#8217;t seem to work if I delete my.txt.</p>
<p>Does the script need a local path?<br />
Thx,<br />
JB</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Writing C# applications to do complex monitoring with SCOM &#124; Everything System Center Operations Manager 2007</title>
		<link>http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/comment-page-1/#comment-2226</link>
		<dc:creator>Writing C# applications to do complex monitoring with SCOM &#124; Everything System Center Operations Manager 2007</dc:creator>
		<pubDate>Thu, 18 Jun 2009 12:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=32#comment-2226</guid>
		<description>[...] Ok now we have a good working script and c# executable.&#160; Now we just need to put the script into a monitor and copy the file to the server we want to monitor and we are done.&#160; You can follow these directions if you don&#8217;t know how to put the script into a monitor.&#160; http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Ok now we have a good working script and c# executable.&nbsp; Now we just need to put the script into a monitor and copy the file to the server we want to monitor and we are done.&nbsp; You can follow these directions if you don&rsquo;t know how to put the script into a monitor.&nbsp; <a href="http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/" rel="nofollow">http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniele Muscetta</title>
		<link>http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/comment-page-1/#comment-1863</link>
		<dc:creator>Daniele Muscetta</dc:creator>
		<pubDate>Fri, 27 Mar 2009 22:58:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=32#comment-1863</guid>
		<description>This is a very old post I wrote long ago (opsmgr2007 RTM was just out of the door)... and now we are getting ready for R2 already!</description>
		<content:encoded><![CDATA[<p>This is a very old post I wrote long ago (opsmgr2007 RTM was just out of the door)&#8230; and now we are getting ready for R2 already!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudhir</title>
		<link>http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/comment-page-1/#comment-102</link>
		<dc:creator>Sudhir</dc:creator>
		<pubDate>Tue, 23 Sep 2008 03:02:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=32#comment-102</guid>
		<description>Hi, 

I was looking for difference and a good article to start scripting with SCOM,, Thanks a lot for a structured article !!! :)

Regards
Sudhir.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I was looking for difference and a good article to start scripting with SCOM,, Thanks a lot for a structured article !!! <img src='http://www.scom2k7.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards<br />
Sudhir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SCOM 2007 Script to Monitor File Count inside a Directory &#124; Everything System Center Operations Manager 2007</title>
		<link>http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/comment-page-1/#comment-92</link>
		<dc:creator>SCOM 2007 Script to Monitor File Count inside a Directory &#124; Everything System Center Operations Manager 2007</dc:creator>
		<pubDate>Fri, 12 Sep 2008 02:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=32#comment-92</guid>
		<description>[...] To Implement this please reference my earlier post on how to setup a Script-Based monitor. http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/ [...]</description>
		<content:encoded><![CDATA[<p>[...] To Implement this please reference my earlier post on how to setup a Script-Based monitor. <a href="http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/" rel="nofollow">http://www.scom2k7.com/create-a-script-based-unit-monitor-in-opsmgr2007-via-the-gui/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
