monitor number of files in a directory

Viewed 0

Hi,

I was wondering if there was a way to monitor the number of files in a directory? We want an alert to be sent if a certain directory has more than 1000 files in it. We are using Power Admin.

1 Answers

Hi George,

To check the count of files and then alert on that count you should use the Execute Script Monitor. If you go to the documentation there is an example that you could start using called "Check files in a directory".

Thanks
Quinn

Related