We often use FTP to share files, often occurs when there is insufficient FTP space, this time can not share resources. How to monitor the amount of FTP space remaining? If there is a lack of space risk, give warning immediately.
Just the Windows system with the "performance monitoring" function can be done, eliminating the use of third-party monitoring tools trouble.
First step, enable the performance feature
In the FTP server, click "Start → run", enter "perfmon.msc" command in the "Run" dialog box, and then return to the "performance" admin main window. then expand the Performance Logs and Alerts → alerts option, you can use the new alert settings to monitor the amount of FTP server space remaining, when the FTP server space below a certain number, the administrator to alert, prompted the FTP space is not enough warning information.
Step two, new warning settings
Next, I want to create a new alert setting to monitor the amount of disk space remaining on the disk partition where the FTP space resides. The principle of its monitoring is this, as the author of the FTP server in the root directory in E disk, that is, all the files in the FTP server are generally stored in the E disk, in addition to the virtual directory, at this time can be used to monitor the disk surplus of e-disk, to achieve the capacity of the FTP space monitoring.
In the Performance Management Main window, right-click the Alerts option, select the New Alert Settings option in the pop-up menu, pop-up the New Alert Settings dialog box, name the alert in the Name column, such as "Ftpdisk", and then click OK to enter the Alert Parameters Settings dialog box.
Step three, alert parameter settings
1. Add Counters
In the Alert Parameters Settings dialog box, click the "Add" button to eject the "Add Counters" dialog box, because the FTP server is installed on the local computer, so be sure to select the "Use local computer counters" single option, and then select the "LogicalDisk" option in the Performance object Drop-down list box.
Select the Counter from list option below, and then select "%free Space" in the list box, check the "E:" option in the right box, and then click the "Add" button.
2. Warning parameters and sampling interval
Then go back to the Alert Parameters Settings dialog box, and then set the trigger warning parameters and the data sampling interval parameters. Here I want to set the remaining disk space below 15%, the administrator issued an alert. In the will trigger an alert, if the value is a drop-down box, select the below option, and in the Limit column, enter 15.
Then set the data sampling interval value, this interval does not set too short, such as set to "5 minutes", in the "Interval" column, enter "5", "Unit" column, select "Minutes."
3. Specify warning target machine
Finally, switch to the Operations tab, in the When the alert box is triggered, select the Send network information to option, and then enter the IP address of the remote administrator machine to accept the alert information, such as "192.168.1.28", and then click the "OK" button to complete the creation of the alert.
Tip: Remote Administrator machine (192.168.1.28) You must enable the Messenger service in the administrator machine if you want to properly receive the "out of space" alert information for your FTP server.
After the above settings, the Windows system with the "Performance monitoring" feature, you can monitor the rest of the FTP server 24x7, once the remaining space of less than 15%, will send a warning to the remote administrator machine, alert the administrator attention, take appropriate measures to deal with. In fact, "performance monitoring" function is very powerful, the above just introduced the tip of the iceberg, it can also monitor the Windows system memory, processor, and so on, interested friends, may wish to try!