Monitor files/folder space

Posted on 2010-01-05
Medium Priority
Last Modified: 2012-05-08
Hello all experts !

I have a question regarding monitoring the space on one of my ftp servers.

- I have 3 ip-based appliances installed at customer's sites.  These appliances are supposed to collect data from the customer's sites  (in txt files format) and send it to my ftp server
- each appliance will have its own directory on my ftp server
- each appliance will have its own userid and password to logon to my ftp

We are supposed to collect 3 months worth of data and then process it locally for a pilot project

I need to find out a way to know when these appliances are down. For obvious reasons (security) I cannot monitor these appliances with a networking tool via active or passive monitors from within my company's network

I think the only way to find out if these devices are up and running is to monitor ftp transaction (or their folders' space) .  For example if "Appliance A" did not transmit anything in the last X min  (5 min being standard ) then that will trigger an alarm. So actually I want to monitor the space. If the space DID NOT INCREASE in the last 10 min then that will trigger the alarm (e-mail, pager, etc)

Please let me know if you know a tool/scrip/method to accomplish the above

Thank you all for taking the time reading and/or replying to my question

Best regards

Question by:Bibecu
  • 2
  • 2
LVL 31

Expert Comment

by:Justin Owens
ID: 26191459
Rather than monitoring free space, why don't you monitor file count?  If you are pulling files from Appliance A, and no new files are created (count doesn't increase), trigger your alarm mechanism.


Author Comment

ID: 26200522
Yes, you are right, this is another way.  Do you know any good tool to monitor the file count ?
LVL 31

Accepted Solution

Justin Owens earned 750 total points
ID: 26200740
Not really, but it would not be hard to come up with a VB script to do a file count, store the number in a text file, then check again in ten minutes to make sure the new file count is larger.  If not, send an email to a predetermined address.  Or have it running constantly and just store the count in a variable if you don't want the hassle of scheduling it every five minutes.  Here is an example of a script that will monitor file creation and deletion:



Author Closing Comment

ID: 31673169
Thanks Justin

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question