Forum Discussion
Justin_Lanoue
Advisor
10 hours agoOutputs need to be numeric.
Therefore you need to translate the Error into like 1 and then on the threshold make it = 1 to alert and define a note saying like:
Success=0, Error=1,2=Unknown
As for dates you would probably want to convert it into like NewestFileDate_DaysAgo and alert when its > x days ago.
- 10 hours ago
Yes, but I want the email to include the filename that triggers the alert.
- Justin_Lanoue10 hours ago
Advisor
If you're okay with only checking every 15 minutes, you could turn this into an active discovery script and make the filename the wildalias or a property that gets discovered and then in your alert email reference the instance or property name with like ##INSTANCE## or ##PROPERTYNAME##.
- 9 hours ago
Did not check it, could not find any good documentation about this how to implement.