Link to home
Start Free TrialLog in
Avatar of ABSGDATA
ABSGDATA

asked on

SCOM R2 duplicate file monitor

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
Avatar of prashanthd
prashanthd
Flag of India image

Will the system allow duplicate file to be created in same folder?
ASKER CERTIFIED SOLUTION
Avatar of wwwally
wwwally
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ABSGDATA
ABSGDATA

ASKER

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