Herramientas de usuario

Herramientas del sitio


personas:brolin:proyectos:agentes_calidad_aire:infraestructura_iot

¡Esta es una revisión vieja del documento!


Tabla de Contenidos

Infraestructura Tecnológica

The TICK stack is a collection of products from the developers of the time-series database InfluxDB. It is made up of the following1)

components:

  • Telegraf collects time-series data from a variety of sources.
  • InfluxDB stores time-series data.
  • Chronograf visualizes and graphs the time-series data.
  • Kapacitor provides alerting and detects anomalies in time-series data.

You can use each of these components separately, but if you use them together, you'll have a scalable, integrated open-source system for processing time-series data.

In this tutorial you'll set up and use this platform as an open-source monitoring system. You'll generate a bit of CPU usage and receive an email alert when the usage gets too high.

https://www.influxdata.com/blog/building-iot-time-series-demo/

https://www.youtube.com/watch?v=woepS38F_90
https://www.influxdata.com/time-series-platform/
https://forums.docker.com/t/docker-and-iptables-configuration-startup/904
https://github.com/CWempe/rest2influxdb/blob/master/rest2influxdb.sh
http://blog.sequenceiq.com/blog/2014/08/12/docker-networking/
https://www.digitalocean.com/community/tutorials/how-to-configure-the-linux-firewall-for-docker-swarm-on-ubuntu-16-04

MQTT

http://platformio.org/lib/show/89/PubSubClient/examples https://pubsubclient.knolleary.net/

http://platformio.org/lib/show/346/AsyncMqttClient https://github.com/marvinroger/async-mqtt-client http://marvinroger.viewdocs.io/async-mqtt-client/

influx data formathttps://docs.influxdata.com/influxdb/v1.3/write_protocols/line_protocol_tutorial/
https://docs.influxdata.com/influxdb/v1.3/concepts/glossary/#timestamp

timestamp tiene una formato definido por la precisión, para ajustarlo se hace por medio de un parámetro
https://docs.influxdata.com/influxdb/v1.3/tools/api/#write

Query String Parameter Optional/Required Description
precision=[ns,u,ms,s,m,h] Optional Sets the precision for the supplied Unix time values. InfluxDB assumes that timestamps are in nanoseconds if you do not specify precision.**
personas/brolin/proyectos/agentes_calidad_aire/infraestructura_iot.1506638991.txt.gz · Última modificación: 2017/09/28 22:49 por brolin