Solved

SCOM R2 duplicate file monitor

Posted on 2011-03-18
3
674 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
powershell function location 6 42
powershell and invoke-command 4 23
Running powershell command to get-publicfolder and its hanging 1 25
Creating An Intelligent Dropdown 8 30
Set OWA language and time zone in Exchange for individuals, all users or per database.
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 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