Of course we want to share some of the highlights. upload them to your FTP space! It is convenient for friends to download and enjoy. However, these blockbusters are often "bloated", while FTP space is "Limited". Over time, it is likely to be "broken.
Of course you don't want this to happen to you, so monitor the remaining number of FTP space! In case of insufficient space, immediately give a warning. The "performance monitoring" function provided by Windows can be achieved without the trouble of using third-party monitoring tools.
Step 1. Enable the "performance" Function
On the FTP server, click "Start> Run", enter the "perfmon. msc" command in the "run" dialog box, and press enter to bring up the "performance" management main window. Next, expand the "Performance Logs and alarms> alarms" option in sequence. Next, you can use "new alarm settings" to monitor the remaining FTP server space, when the remaining space on the FTP server is less than a certain value, an alarm is sent to the Administrator, prompting you to receive a warning message about insufficient FTP space.
Step 2: create alarm settings
Next, I will create a new alarm setting to monitor the remaining disk space in the disk partition where the FTP space is located. The monitoring principle is as follows. For example, if the root directory of the FTP server is in the E disk, all files on the FTP server are generally stored in the E disk, except for the virtual directory, in this case, you can monitor the remaining disk space of the E disk to monitor the FTP space capacity.
In the "performance" management main window, right-click the "alarm" option and select the "new alarm settings" option in the pop-up menu. The "new alarm settings" dialog box is displayed, in the "name" column, enter a name for the alarm, such as "FtpDisk". Click "OK" to go to the alarm parameter Settings dialog box.
Step 3. set alarm Parameters
1. Add counters
In the alarm parameter Settings dialog box, click "add" to bring up the "add counter" dialog box, because the FTP server is installed on the local computer, therefore, you must select the "use local computer Counter" option, and then select the "LogicalDisk" option in the "performance object" drop-down list box.
Select the "select counter from List" option, select "% Free Space" in the list box, select the "E:" option in the right box, and click "add.
2. Warning parameters and sampling interval
Return to the alarm parameter Settings dialog box, and set the trigger alarm parameter and data sampling interval parameter. Here, I want to set the remaining disk space to less than 15%, and then send an alarm to the Administrator. In the "will trigger alert, if the value is" drop-down box, select the "lower" option and enter "15" in the "Limit" column ".
Set the data sampling interval value. Do not set the interval too short. For example, set it to "5 minutes" and enter "5" in the "interval" column ", select "Minute" in the "unit" column ".
3. Specify a warning target machine
Finally, switch to the "operations" tab, select the "send network information to" option in the "when an alarm is triggered" box, and enter in the blank bar, the IP address of the remote administrator machine whose alarm information is to be received, such as "192.168.1.28". Click "OK" to create the alarm.
TIPS: the remote administrator machine (192.168.1.28) must enable the "Messenger" service on the Administrator machine to receive the "insufficient space" alarm on the FTP server.
After completing the preceding settings, the "performance monitoring" function provided by Windows can monitor the remaining space of the FTP server around the clock. Once the remaining space is less than 15%, A warning message is sent to the remote administrator machine to remind the Administrator to take appropriate measures. In fact, the "performance monitoring" function is very powerful. The above is just the tip of the iceberg. It can also monitor the memory and processor of Windows systems. If you are interested, try it!