Information générale
Titre:
Help--Need to return disk space (SNMP ???)
This is a post that I had on the .Net forum a few weeks ago and received a response that works great for any Windows based machine or server; that is using the System.Management.ManagementObject to return disk space info.
Here is what I need to do, any ideas would be appreciated:
The client (a worlwide company) wants to bill their departments by disk space usage. Each department is given a certain amount of GB or TB as a mapped drive or share as their own. Each month I need to poll each "drive" and find out how much disk space is in use, after that I do the financial calcs and print reports/invoices.
The kicker here is that the "drives" are all over the world on different types of OS's (AIX, Solaris, Windows NT/2000). I am able to do this with no problems on any Windows based machine. AIX and Solaris, I have no clue what to do. At this point I am wondering if there is a way to create a small Java app that will write to an XML file with the total disk space and in use amount that I can poll from my .Net application. Since I have never worked on AIX or Solaris before, I have no idea of how difficult this will be. Is there a way to do this through some SNMP calls from my .Net app ???
I already have SQL tables with each managed object, it's IP address, etc.
By the way, I'm doing the project in VB.Net with SQL 2000 backend.
Thanks in advance !!!
Best Regards,
Jace
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement