User Tools

Site Tools


documentation:sensors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
documentation:sensors [2025/04/19 07:46] – created ninedocumentation:sensors [2025/04/19 09:52] (current) nine
Line 1: Line 1:
 ====== sensors ====== ====== sensors ======
  
 +====== influxdb ======
 +
 +
 +<code>
 +apt-get install influxdb2 influxdb2-cli
 +</code>
 +
 +from docs: https://docs.influxdata.com/influxdb/v2/get-started/setup/?t=Set+up+with+the+CLI
 +<code>
 +influx setup
 +</code>
 +
 +data:
 +<code>
 +1 root@mach /etc (git)-[master] # influx setup
 +> Welcome to InfluxDB 2.0!
 +? Please type your primary username nine
 +? Please type your password **********
 +? Please type your password again **********
 +? Please type your primary organization name nindl.net
 +? Please type your primary bucket name default
 +? Please type your retention period in hours, or 0 for infinite 0
 +? Setup with these parameters?
 +  Username:          nine
 +  Organization:      nindl.net
 +  Bucket:            default
 +  Retention Period:  infinite
 + Yes
 +User Organization Bucket
 +nine nindl.net default
 +</code>
 +
 +===== install telegraf =====
 +
 +from docs: https://docs.influxdata.com/telegraf/v1/install/
 +
 +add telegraf sources:
 +<code>
 +curl --silent --location -O \\nhttps://repos.influxdata.com/influxdata-archive.key 
 +    && echo "943666881a1b8d9b849b74caebf02d3465d6beb716510d86a39f6c8e8dac7515  influxdata-archive.key"
 +    | sha256sum -c - && cat influxdata-archive.key
 +    | gpg --dearmor
 +    | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive.gpg > /dev/null
 +    && echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main'
 +    | sudo tee /etc/apt/sources.list.d/influxdata.list
 +</code>
 +
 +install telegraf
 +<code>
 +sudo apt update && sudo apt install telegraf
 +</code>
documentation/sensors.1745048793.txt.gz · Last modified: 2025/04/19 07:46 by nine