We recently installed our Exchange 2007 enviornment and due to recommendations for CCR on the Mailbox role servers we are using NTFS mount points (or “junctions”) to store SG's and log data. Uptime doesn't understand mount points as seperate volumes and so does not report on disk space. I pulled together some other code that I found on the net to pull the data with SNMP. You must install SNMP Informant to make all of this work.
As a warning these scripts are badly written, could definetly be optimized and are all together ugly /smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />. It may be better to think of this code as a jumping off point rather than Two bash shell scripts are attached, both of them need to be installed and the script edited for the full path of the checkDiskSpace.sh script. You will also need to know information about the names of the volumes you are searching. If you snmpwalk 188.8.131.52.4.1.9600.1.1.1.1.1 you should see all of the mount points and you just need a unique string to look for.
Again, this code is very heavily customized for our environment but hopefully someone finds it useful.