Yet more code reuse

Back in August I dusted off a script from my old job that performed disk-space monitoring. It has been a while since then, and the trending data that the script is providing has already been useful in managing our storage. I miss Crystal Reports, but Excel can do most of what I want it to do in this case. The pretty pictures are much appreaciated by those who go begging for money.

Yesterday I got the OK to try and set the same thing up for our Exchange servers. Much to my surprise, modifying the windows-section of that script took all of 30 minutes. I had already solved the problem of how to dump to CSV instead of Oracle, and 80% of the problem of how to monitor only specific volumes. Most of the conversion time was taken in figuring out the logic to only grab the volumes I need, but with a Microsoft twist instead of Novell. I had to turn SNMP on on the exchange-cluster nodes, but that was locked down pretty simply. Give me another couple of months and I'll be able to perform trending data on that too!

And we've already learned of a potential issue. Node1 has 25% free, and Node2 has 47% free. Both have nearly identical numbers of users (within 2% variance), but somehow the users on Node1 are using it more. See? This is useful information to have! Especially when combined with the decision to up mail quotas a few months back.