This custom sensor for IPCheck Server Monitor reads the free disk bytes from a Windows machine using WMI. You can find the files of this sensor in the following sub folder of your IPCheck Server Monitor installation:
\custom\sample\dot net\read windows disk free bytes
It was created using .NET, the .NET framework must be installed. The source can be found in "ClassMain.cs".
Prerequisites:
Instructions:
"Drive" "Computername" "Units"
"C:" "COMPUTERNAME" "mb"
"C:" "REMOTECOMPUTER" "mb" "WINDOMAIN\user" "passwd"
Sample Code was created by Torsten Sturm