naggie / MLDASH

Winter 2011/2012: Real time monitoring dashboard
Apache License 2.0
1 stars 0 forks source link

halfway server stats (to replace dumb api) #5

Closed naggie closed 12 years ago

naggie commented 12 years ago

So the dumb API server (to be deleted) simply forwards what the report-stats.php scripts say.

This is inherently insecure.

The HSS server should know a bit more about it's job. Rather than rely on the reporters for the hostname, it could do a reverse-dns lookup on first connect.

Also, what the reporters have to initialise could be reduced. For example: Disk capacity, RAM size, bandwidth (if able) and if it's able to report temperature.

naggie commented 12 years ago

after this it would simply update the values in a really simple JSON Object.

naggie commented 12 years ago

also a single API key

naggie commented 12 years ago

at the same time I'll write the reporter in python.

naggie commented 12 years ago

also if a reporter fails to report within 10 seconds (or something) then it shall be removed, causing clients to refresh