Closed kukuruza closed 9 years ago
Commit bdc5ca126f47d2f72e4d3109de9a3d3fc8131a8d adds monitoring of video download. This commit adds MonitorClient.m
class, which sends JSON strings to a server in HTTP POST requests.
Right now there is an issue though, that I dont know how to solve -- if the server url is invalid, matlab would wait 30 sec. before getting the next frame.
From the other side, we can use any server to receive json messages and display them in a browser. I followed my friend's advice and installed Elasticsearch + Kibana. Pretty neat and useful. Will test in production soon.
Commit 7b3b468406f357d96f651539b2b09a3699aa9474 adds credentials to send to the server.
Try it out http://54.208.140.88/#/visualize/step/1?_g=() to play with different visualizations.
Username/password are in credentials
line in file data/etc/monitor.ini
on Google Drive.
Let me try it with @Lotuslisa, and then let's merge the branch into master.
Technicalities:
On the server side, authentication works via Nginx proxy server, the monitoring tool is elasticsearch + Kibana.
This commit solves the issue of long timeout of webwrite.m
in cases when something goes wrong. Now instead of calling webwrite.m
matlab calls the command line tool curl
.
Another issue, however, is that any http request from my house to the server in Virginia takes 0.3 sec., which is acceptable, but not nice.
Sending status updates works on my and @Lotuslisa side, so close the issue. The short url to monitor of the last 24 hours: http://tinyurl.com/nkxg6mz
yo, while there is no GPU, I want to create some monitoring server which will show the status of video downloading and data processing from different machines. My vision is that machines will send status updates, and all info will be displayed on a web page that we can view in a browser.
Before I start, what's your opinion about useful information to display there? E.g. for info about downloading video, i want to see _machinename, _cameraid, _avgfps from each machine for each camera. What other info may be useful?