This post is more than 5 years old
1 Message
0
135381
November 7th, 2011 20:00
File counting in vFog
I am trying to impliment a rule to count the number of files in a directory and if the file count goes above 10,000 it will raise an alarm and send an email to the admin team. Does anyone have a rule created similar to this that I can modify? Or are there any metrics that monitor this that I can use to create my own rule?
No Events found!



j_kirchner-ques
6 Posts
0
November 8th, 2011 14:00
Hello Top,
maybe this Thread can also help you.
http://en.community.dell.com/techcenter/performance-monitoring/foglight-administrators/f/4788/t/19554115#16252
And also this Thread has many Information on howto get this Information and howto use it:
http://en.community.dell.com/techcenter/performance-monitoring/foglight-administrators/f/4788/t/19554151
Kind regards
Jan
Vel0city
7 Posts
0
November 8th, 2011 14:00
The OS agents don't currently collect that type of information. If you want to do this you need to create a script agent that can monitor the directory in question on a machine and then you could use that data to create an alarm. I've got examples of the scripts, but not sure how to upload them here. If you send me a message with your email add. I can send them to you.