Open lawrenceleejr opened 1 year ago
@jslawless will take care of this. We might want to think about running this server in a docker container actually... That will solve any root access issues and will make it easily portable and such. That docker container would be allowed to store its database files on the host computer by mounting a shared volume. This would be some good docker practice...
This looks crazy helpful. 😀
https://hub.docker.com/r/philhawthorne/docker-influxdb-grafana
Got this running the other day on the serf machine through docker. Thanks for the help with the remote browser connection thing.
I was also able to create a database and post to it using this: https://docs.influxdata.com/influxdb/v1.8/guides/write_data/
Nice! So I think now it's a game of designing the overall system: defining the identifiers and any kind of meta data that should be written out, etc etc. And then working on #2 to get one of those guys to write out.
@jslawless The code is uploaded now
@jslawless: I was just talking to @Jmgou trying to figure out how "personalized" each pico's code needs to be. For giving metadata (primarily I mean the location of the POPSICL), does it have to be in the original posting or is it possible to do something like have the DB know what hostname the request came from and then attach a location based on that? Or I suppose we can have the pico's attach their own hostname dynamically to the POST. So then as long as they're on ut-open
it'll be assigned to them automatically based on the MAC. Then we can decode the hostname -> location mapping in the DB level?
Install InFluxDB and Grafana on serf212a. That machine has Centos7 installed.