Version 2 of [ Monitor Disk Space using a nice script ] is now available

 

I have blogged about a nice powershell that you can use to report on disk space on your servers and get nice alerts once a threshold is crossed.

Here is the link of the old version post :  https://ammarhasayen.com/2013/09/22/216/

I am glad to share with you an advance version of the script (Version 2).

Download Version 2 of the script

Click here to download the script http://sdrv.ms/1bEdvy2

What is new in this version?

  1. General Bug fixes
  2. More informative error messages if any, when running the script interactively from the PowerShell console.
  3. Thresholds can be set also as percentage of the total disk space now. So you can say that an error free space threshold is when the disk space is dropped beyond 6% of the total disk space.
  4. Alert mode will send you email only when an error threshold is crossed. The alert email will only include the affected servers.
  5. New variable that you can customize is ($UsePercentage). If set to true, threshold values will be treated as percentages.

Recommendation

  • Download the script, create a text file named list.txt with all servers to monitor (server per line), and place it on the script directory, modify the smtp settings and run the script from Powershell Console. Observe the results and then tweak the script thresholds accordingly.
  • Always remember that you need to open the script and look at the script (Script Customization) section. Make sure you tune variables there to meet your environment.
  • You need to place a text file named (list.txt) at the same path as the script location.The content of the file should be something like this

DiskMontiorFileText

 

 

Give it a try, contact me if you have any questions or suggestions. Tell me what do you think.

Have a nice day.

2 comments on “Version 2 of [ Monitor Disk Space using a nice script ] is now available

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s