Closed naggie closed 12 years ago
after this it would simply update the values in a really simple JSON Object.
also a single API key
at the same time I'll write the reporter in python.
also if a reporter fails to report within 10 seconds (or something) then it shall be removed, causing clients to refresh
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.