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.ScriptAP I")
' 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
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.ScriptAP
' 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
Will the system allow duplicate file to be created in same folder?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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