Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««34567»»»

Drive Space Monitoring Gets An Update Expand / Collapse
Author
Message
Posted Wednesday, October 13, 2010 6:41 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, June 18, 2014 3:28 AM
Points: 1,044, Visits: 1,839
A WMI Query can also be used for the same

Regards/Raunak
Now a member of Linkedin

Please visit the all new Performance Point Forum
Please visit the all new Data Mining and Business Analytics Forum
Post #1003537
Posted Thursday, October 14, 2010 6:02 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, May 4, 2014 9:28 PM
Points: 12, Visits: 234
Hi, we use mountpoints in our clustered SQL instance. I think it would be great to include this into your scripts
Post #1004270
Posted Monday, November 1, 2010 7:53 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, October 14, 2014 7:56 AM
Points: 1,402, Visits: 735
I've updated the Powershell portion of this routine to collect the total disk free space amount for the drives SQL Server uses. this also requires adding one column to the DatabaseDiskStats table. Details can be found at my blog: http://shaunjstuart.com/archive/2010/11/drive-space-monitoring-gets-an-update-update This should allow you to have better insight into your disk space usage.

Sorry, still no mount point support - I don't have a configuration I can use for testing that.

Shaun
Post #1013835
Posted Monday, January 24, 2011 7:53 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, October 14, 2014 7:56 AM
Points: 1,402, Visits: 735
I just wanted to let people know I found a bug in the stored procedure portion of this that may result in the @@SERVERNAME system variable being set to NULL after a restart on the machine this routine is executed on. Details and a fix are at http://shaunjstuart.com/archive/2011/01/drive-space-monitoring-gets-an-update-bug-fix. Not sure if this is due to a bug in the sp_dropserver system stored procedure or if it is by design.
Post #1052372
Posted Wednesday, February 22, 2012 1:11 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, May 7, 2012 8:20 PM
Points: 3, Visits: 88
I believe there's a bug with the sproc, where if the @servername starts with a number, e.g. "1SQLServer", the following error would be thrown.

Msg 102, Level 15, State 1, Line 13
Incorrect syntax near '1'.
Msg 102, Level 15, State 1, Line 13
Incorrect syntax near '1'.

(0 row(s) affected)

Post #1255746
Posted Wednesday, February 22, 2012 12:36 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, October 14, 2014 7:56 AM
Points: 1,402, Visits: 735
Eugene - I am unable to duplicate this issue. I created a VM named 1SQLSVR, installed SQL 2008 R2 on it, and loaded my routines. Everything worked correctly.
Post #1256232
Posted Wednesday, February 22, 2012 5:31 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, May 7, 2012 8:20 PM
Points: 3, Visits: 88
That's odd, it worked correctly for me with servers without numbers in front, but not if there were numbers. Could you send me a link to your routines? Maybe I'm using a different version of your sproc.

Post #1256354
Posted Wednesday, February 22, 2012 10:10 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, October 14, 2014 7:56 AM
Points: 1,402, Visits: 735
Sure. The latest version can always be found here: http://shaunjstuart.com/archive/2011/07/drive-space-monitoring-page/

Post #1256396
Posted Sunday, March 4, 2012 6:50 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, May 7, 2012 8:20 PM
Points: 3, Visits: 88
Thanks Shaun! The latest script works without error.

How do you normally display the data in a report? I'm currently running the sproc without using the powershell script.
Post #1261358
Posted Monday, March 5, 2012 12:49 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, October 14, 2014 7:56 AM
Points: 1,402, Visits: 735
I created an SSRS report that reads the data table and makes graphs off of that.
Post #1261780
« Prev Topic | Next Topic »

Add to briefcase «««34567»»»

Permissions Expand / Collapse