Compare server statistics with hostdatabase - Looking for ideas

Looking for recommendation

I want to compare server statistics with host database. What is the best way?

  1. Write modules?
  2. Compare facts received from the server with the database?
  3. Any other ideas?