<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx</link><description>With MOM you can automate the following tasks: - check event log free space on MOM agent computers - backup the event logs to a remote share I have attached the 2 scripts I used for this (modified well-known scripts from Scripting Center ). I also attached</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Automatically Applying hot fixes (patches) to MOM Agents</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#424881</link><pubDate>Tue, 11 Apr 2006 09:33:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:424881</guid><dc:creator>PatchAholic...The WSUS Blog!</dc:creator><description>Automatically Applying hot fixes (patches) to MOM Agents</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#424965</link><pubDate>Tue, 11 Apr 2006 22:20:04 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:424965</guid><dc:creator>alipka</dc:creator><description>Athif,&lt;br&gt;&lt;br&gt;Great, thanks for that. &lt;br&gt;Just to add on: for agents behind firewall you have to apply the hotfix directly on the managed computer. This is obvious, but I went through this and its a bit of a pain especially if you have a lot of agents that have only port 1270 open to the mom management server. That is why I'd advise to keep such agents in small number in your environment.</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#425328</link><pubDate>Sat, 15 Apr 2006 13:57:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:425328</guid><dc:creator>Mohammed Athif Khaleel</dc:creator><description>Hi Alipka,&lt;br&gt;&lt;br&gt;That's True. I was able to update all the agents except a couple of agents which are still in 'Pending Actions' container. I have verified the version and it's already updated to 5.0.2911.28 but still it says 'Requires Patching' in 'Pending Actions' container :-(.&lt;br&gt;&lt;br&gt;ISSUES:&lt;br&gt;&lt;br&gt;1. I am currently testing your 'Monitor and backup event logs Management Pack' and encountered with the following error;&lt;br&gt;&lt;br&gt;An error occurred on line 52 while executing script 'PKO clear event logs'&lt;br&gt;Source: Microsoft VBScript runtime error&lt;br&gt;Description: Permission denied. Please refer to the events associated with this alert to view the computers on which this problem occurred.&lt;br&gt;&lt;br&gt;Can you highlight the permissions required for the script to run? &lt;br&gt;NOTE: MOM ACTION account is already part of LOCAL ADMINSITRATORS Group.&lt;br&gt;&lt;br&gt;2. Moreover, I don’t see the logs copied to network location (LogDest=\\mom\SavedLogs$) when they are full (RULE: Backup logs automatically when they are full). &lt;br&gt;NOTE: LogDest is accessible via Windows Explorer.&lt;br&gt;&lt;br&gt;Thanks again,&lt;br&gt;Athif&lt;br&gt;PatchAholic...&lt;a rel="nofollow" target="_new" href="http://msmvps.com/blogs/athif/"&gt;http://msmvps.com/blogs/athif/&lt;/a&gt;</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#425495</link><pubDate>Tue, 18 Apr 2006 10:34:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:425495</guid><dc:creator>alipka</dc:creator><description>Hi Athif,&lt;br&gt;&lt;br&gt;My name is Andrzej. ALipka is just my alias-&amp;gt; Andrzej LIPKA. &lt;br&gt;Anyway to your points:&lt;br&gt;1. What is the agent action account that you configured for this agent? If it is local system, then you need the hotfix I mentioned. If it is any other domain account that is in local administrators group make sure you have backup privilege (granted via local/domain GPO). This is the privilege that is needed to run the script.&lt;br&gt;2. Again, the AGENT ACTION ACCOUNT needs write access to that folder on share and NTFS level permissions. If it is a local system account, then make sure the machine domain account has that access granted.&lt;br&gt;&lt;br&gt;--Andrzej</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#425527</link><pubDate>Tue, 18 Apr 2006 16:38:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:425527</guid><dc:creator>alipka</dc:creator><description>Ok, So I found the 5 seconds to take look back at the code:&lt;br&gt;Line 52 is: &lt;br&gt;&lt;br&gt;fso.MoveFile strLogTempPlace &amp;amp; strCompName &amp;amp; &amp;quot;_*&amp;quot; &amp;amp; strYear &amp;amp; strMonth &amp;amp; strDay &amp;amp; &amp;quot;.evt&amp;quot;, strLogDestPlace&lt;br&gt;&lt;br&gt;Agent action account must have NTFS and share level WRITE access to LogDest parameter just as I wrote.&lt;br&gt;bye,&lt;br&gt;Andrzej</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#425662</link><pubDate>Wed, 19 Apr 2006 12:12:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:425662</guid><dc:creator>Athif </dc:creator><description>Hi Andrzej,&lt;br&gt;&lt;br&gt;Sorry for messing with your name:). &lt;br&gt;&lt;br&gt;I am using Local System Account and applied the HOTFIX too. I think permission was the problem. I just granted MOM ACTION Account WRITE permissions as said. Let me see how it goes.&lt;br&gt;&lt;br&gt;Thanks again,&lt;br&gt;Athif</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#427166</link><pubDate>Wed, 03 May 2006 20:17:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:427166</guid><dc:creator>Ziemek Borowski</dc:creator><description>&lt;a rel="nofollow" target="_new" href="http://spike.aspweb.cz/alipka/monitoreventlogs.zip"&gt;http://spike.aspweb.cz/alipka/monitoreventlogs.zip&lt;/a&gt; -- 404 &amp;nbsp;Not Found.&lt;br&gt; </description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#427549</link><pubDate>Mon, 08 May 2006 13:43:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:427549</guid><dc:creator>Andrzej Lipka</dc:creator><description>The site or server must be down (its free, so I dont expect it to be 24h;)) - I'll post the attachment on a new link as soon as I have access to the server (should hopefully be tomorrow).&lt;br&gt;Thanks for letting me know!&lt;br&gt;Andrzej</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#427604</link><pubDate>Mon, 08 May 2006 21:58:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:427604</guid><dc:creator>alipka</dc:creator><description>Should be ok now - i moved the attachment to another server.</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#429124</link><pubDate>Thu, 18 May 2006 22:54:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:429124</guid><dc:creator>Rob</dc:creator><description>If the event logs are set to overwrite do they still get backed up?</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#429208</link><pubDate>Fri, 19 May 2006 10:30:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:429208</guid><dc:creator>alipka</dc:creator><description>Yes they do. The MP works in such a way that you can define when you want to backup logs:&lt;br&gt;every X days/hours, or when the logs are X% full (in case of overwrite logs, I imagine you currently have 100% for all logs, in which case you can configure to backup at &amp;gt;=90%, and then all the logs get backed up (AND CLEARED)).</description></item><item><title>mom errors </title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#438217</link><pubDate>Thu, 22 Jun 2006 18:23:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:438217</guid><dc:creator>adnan</dc:creator><description>Error: 9002, Severity: 17, State: 6&lt;br&gt;The log file for database 'SystemCenterReporting' is full. Back up the transaction log for the database to free up some log space.&lt;br&gt;&lt;br&gt;any ideas how to fix this error</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#438226</link><pubDate>Thu, 22 Jun 2006 19:35:42 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:438226</guid><dc:creator>alipka</dc:creator><description>increase the log file in enterprise manager - backing up will not help - the log is needed for DTS job. mom scr db uses a simple recovery model.&lt;br&gt;see: &lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/?kbid=899158"&gt;http://support.microsoft.com/?kbid=899158&lt;/a&gt;</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#455542</link><pubDate>Tue, 12 Sep 2006 11:05:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:455542</guid><dc:creator>Prasad</dc:creator><description>Hi &lt;BR&gt;&lt;BR&gt;I am not able to download the file, it says host not found. &lt;BR&gt;&lt;BR&gt;I am looking for this kind of script for long time. &amp;nbsp;can you mail me the file, or if any one who has allready can mail me the same, that would be great ful. &lt;BR&gt;&lt;BR&gt;my mail id is jlprasadreddy@yahoo.com &lt;BR&gt;&lt;BR&gt;Thanks</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#532167</link><pubDate>Mon, 27 Nov 2006 13:37:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:532167</guid><dc:creator>alipka</dc:creator><description>&lt;p&gt;I updated the link. Sorry for the downtime. You can find the scripts and akm at:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://lipkaa.members.winisp.net/MOM%202005/MonitorEventLogs.zip"&gt;http://lipkaa.members.winisp.net/MOM%202005/MonitorEventLogs.zip&lt;/a&gt;.&lt;/p&gt;
</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#2804320</link><pubDate>Thu, 31 Jan 2008 18:44:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2804320</guid><dc:creator>Duvall</dc:creator><description>&lt;p&gt;I'd like to know how to persist Windows Event Logs on our server without local backups. &amp;nbsp;Our plan was to have a scheduled job that exported Event Logs and inserted them into our Oracle database on another server. Do you know the process for this?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Duvall&lt;/p&gt;
</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#2906753</link><pubDate>Mon, 18 Feb 2008 17:28:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2906753</guid><dc:creator>penny1mx</dc:creator><description>&lt;p&gt;Hello Andrzej's&lt;/p&gt;
&lt;p&gt;This is a question, this logs backup works with System Essentials 2007 ???&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Carlos ...&lt;/p&gt;
</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#2906781</link><pubDate>Mon, 18 Feb 2008 17:42:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2906781</guid><dc:creator>alipka</dc:creator><description>&lt;p&gt;No it does not. it is only for MOM 2005. If you try to convert it by using migration tools it won't work as expected. I am working on a solution for OpsMgr 2007 wich will also work with SCE 2007. I have currently a basic version ready (local backup) with central backup on the way. Will post it (or some parts of it) here I hope within few weeks.&lt;/p&gt;
</description></item><item><title>Ops Mgr 2007 custom MP for monitoring event log size</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#2954896</link><pubDate>Mon, 03 Mar 2008 17:00:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2954896</guid><dc:creator>Andrzej's "IT Thoughts" Weblog</dc:creator><description>&lt;p&gt;I have done some small work to update my backup event logs MP for MOM 2005 to 2007 ( &lt;a rel="nofollow" target="_new" href="http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx"&gt;http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#3061152</link><pubDate>Mon, 26 May 2008 14:10:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3061152</guid><dc:creator>AndreyKAZ</dc:creator><description>&lt;p&gt;Nice script!&lt;/p&gt;
&lt;p&gt;One question: I don't want a clearing of my Events, what I must change in the &amp;quot;backupeventlogs.vbs&amp;quot; script?&lt;/p&gt;
&lt;p&gt;Deleting &amp;quot;objLogFile.ClearEventLog()&amp;quot; string is not helpful...&lt;/p&gt;
&lt;p&gt;Help me please.&lt;/p&gt;
</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#3061165</link><pubDate>Mon, 26 May 2008 14:37:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3061165</guid><dc:creator>alipka</dc:creator><description>&lt;p&gt;I haven't tried it, but deleting the clearEventLog() string should be good enough as per: &lt;a rel="nofollow" target="_new" href="http://technet.microsoft.com/en-us/library/bb742445.aspx#EFAA"&gt;http://technet.microsoft.com/en-us/library/bb742445.aspx#EFAA&lt;/a&gt;. Does the backup of event log succeed? &lt;/p&gt;
</description></item><item><title>re: Monitoring and backing up event logs with MOM</title><link>http://blogs.technet.com/alipka/archive/2006/04/09/monitoring-and-backing-up-event-logs-with-mom.aspx#3207717</link><pubDate>Sat, 28 Feb 2009 20:28:26 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3207717</guid><dc:creator>carnaval</dc:creator><description>&lt;p&gt;Hi all !&lt;/p&gt;
&lt;p&gt;now, i don't download above attachment file, i need it. Somebody help me by send me that file via email : lequanghoang@gmail.com.&lt;/p&gt;
&lt;p&gt;Thank you very much.&lt;/p&gt;
</description></item></channel></rss>