Solved

SCOM R2 duplicate file monitor

Posted on 2011-03-18
3
702 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

632 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