nicolargo/glances — pull request #131 by philips (2012-11-29 19:07:29+00:00)
Title: Refactor classes

Hey Nico-

I have cleaned up the glancesStats class into three separate classes:
- GlancesStatsClient
- GlancesStatsServer
- GlancesStats

It all seems to work.

![](http://screenshots.ifup.org/Screen%20Shot%202012-11-29%20at%2010.55.07%20AM.png)

The reason I did this is because I worked up a prototype to have glances use the rackspace monitoring agent as a backend. You can find the demo and code here:

https://www.youtube.com/watch?v=iOqIZtjUTmk
https://github.com/philips/glances/commits/hookup-rackspace-monitoring-agent

Would you be willing to merge the agent feature to glances if I cleaned it up on top of this PR?

Thanks!

Brandon