Hello,
I have a monitor in SAM that's experiencing some unexpected issues. Normally the monitor works fine (been up a year or two now with few issues), and I have a number of them assigned searching different folders. They basically pass down a couple arguments (a duration, file extension it's looking for, and a path) and using a foreach loop and a Get-ChildItem cmdlet it looks for files more than x minutes old. Nothing too complicated.
As of yesterday, it appears all of those monitors have gone Unknown, and have the following error message: "Unexpected error occurred. Index was outside the bounds of the array."
What do I need to do to fix it?
Thanks!