documentation:sensors
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
documentation:sensors [2025/04/19 07:46] – created nine | documentation:sensors [2025/04/19 09:52] (current) – nine | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== sensors ====== | ====== sensors ====== | ||
+ | ====== influxdb ====== | ||
+ | |||
+ | |||
+ | < | ||
+ | apt-get install influxdb2 influxdb2-cli | ||
+ | </ | ||
+ | |||
+ | from docs: https:// | ||
+ | < | ||
+ | influx setup | ||
+ | </ | ||
+ | |||
+ | data: | ||
+ | < | ||
+ | 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: | ||
+ | Organization: | ||
+ | Bucket: | ||
+ | Retention Period: | ||
+ | Yes | ||
+ | User Organization Bucket | ||
+ | nine nindl.net default | ||
+ | </ | ||
+ | |||
+ | ===== install telegraf ===== | ||
+ | |||
+ | from docs: https:// | ||
+ | |||
+ | add telegraf sources: | ||
+ | < | ||
+ | curl --silent --location -O \\nhttps:// | ||
+ | && echo " | ||
+ | | sha256sum -c - && cat influxdata-archive.key | ||
+ | | gpg --dearmor | ||
+ | | sudo tee / | ||
+ | && echo 'deb [signed-by=/ | ||
+ | | sudo tee / | ||
+ | </ | ||
+ | |||
+ | install telegraf | ||
+ | < | ||
+ | sudo apt update && sudo apt install telegraf | ||
+ | </ |
documentation/sensors.1745048793.txt.gz · Last modified: 2025/04/19 07:46 by nine