there are better ways to do what you want really. for a mass solution i'd suggest snmp, but certainly you can do this with a script...
Set up ssh preshared key and then a command as simple as
Code:
ssh user@server df -h
will get you the disk stats on the remote machine to do what you want with.