Solved

SCOM R2 duplicate file monitor

Posted on 2011-03-18
3
654 Views
Last Modified: 2012-05-11
we have a system that if a duplicate file is generated it causes all sorts of issues. System Center Operations Manager R2 (SCOM) is our monitoring system. Basically this is what the monitor needs to look at and it there is a duplicate file an alert needs to be generated.

look at \\servername\share
watch for duplicate
generate an alert

' Enter a script that outputs a property bag
' Example VBScript:
'
' Dim oAPI, oBag
' Set oAPI = CreateObject("MOM.ScriptAPI")
' Set oBag = oAPI.CreatePropertyBag()
' Call oBag.AddValue("Status","OK")
' Call oAPI.Return(oBag)
                           
SCOM works well with VB not so sure about PS

Sounds simple enough but it is throwing me for a loop...HELP

Thx in advance
0
Comment
Question by:ABSGDATA
3 Comments
 
LVL 12

Expert Comment

by:prashanthd
ID: 35175469
Will the system allow duplicate file to be created in same folder?
0
 
LVL 15

Accepted Solution

by:
wwwally earned 500 total points
ID: 35331614
There is a file system MP availible on System Center Central to that.
http://www.systemcentercentral.com/PackCatalog/PackCatalogDetails/tabid/145/IndexId/13064/Default.aspx
Regards,
Walter
0
 

Author Closing Comment

by:ABSGDATA
ID: 35333549
Thx...I was trying to avoid loading another MP but maybe there is something in this one that I can mod to do what I want..thx man..Eric
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now