Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Available space on NAS
Message
De
20/02/2014 15:38:24
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Available space on NAS
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01594835
Message ID:
01594835
Vues:
62
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?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform