How to get update status of multiple Drupal sites
A search on drupal.org found Drupal Remote Dashboard

If that module doesn't work for you, I would suggest a thorough search of drupal.org before jumping into creating your own module.