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.

asked 26 Apr '13, 14:51

gnussbaum's gravatar image

gnussbaum
112
accept rate: 0%

edited 26 Apr '13, 14:54


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

link

answered 26 Apr '13, 15:20

Quinn's gravatar image

Quinn ♦♦
14.1k3925
accept rate: 37%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×29
×8

Asked: 26 Apr '13, 14:51

Seen: 2,795 times

Last updated: 26 Apr '13, 15:20