The user has to make sure that the resource check profile is created before the addition of the file. In this case :
Add a file availability check to send an alert once the file Log.txt is added.
Make sure the option Alert when a resource check fails is set to Yes in the associated server's threshold profile to trigger a Trouble , Critical , or Down alert for the configured check.
To test if the alert is working, c
reate a new file called
When the file mentioned is added to the specified path, the status of the associated server monitor(s) will change to Trouble
until the next data collection.