Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Available space on NAS
Message
From
20/02/2014 15:50:43
 
 
To
20/02/2014 15:38:24
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01594835
Message ID:
01594836
Views:
56
Why not use a real monitoring tool? They handle disk space, RAM usage, uptime, etc.

>Recently, I have created a thread about the fact that the .NET Framework does not allow to read NAS drive properties as this is not a Windows drive. After that, in order for our monitoring to detect if 90% of available space has been reached, we relied on a monitoring team, which has roles of doing things like that at the enterprise level. However, before, when we were on a 100% Windows infrastructure, we were able to do it by ourselves.
>
>Yesterday, someone suggested to use the DIR command and parse the output to collect the number of free bytes. So, this is good. I cannot obtain the 90% ratio but I can verify that we have a minimum amount of free bytes before sending an alert. Would there by another DOS command that would give me the total available space of the disk?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform