smartgage.de Docs

curl with PHP Script

write data with curl


# https://docs.influxdata.com/influxdb/v1.7/introduction/installation/
# https://docs.influxdata.com/influxdb/v1.7/tools/shell/

# Example for installing on Red Hat or CentOS
# create file: /etc/yum.repos.d/influxdb.repo
# insert following lines to file:
# [influxdb]
# name = InfluxDB Repository - RHEL \$releasever
# baseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable
# enabled = 1
# gpgcheck = 1
# gpgkey = https://repos.influxdata.com/influxdb.key
#
sudo yum install influxdb
sudo systemctl start influxdb
#
influx -ssl -host smartgage.de
#
influx -ssl -host smartgage.de -username 'myusername' -password '*****' -execute 'SHOW SERIES ON mydatabase'