# Environment ##################### URL to get all metrics: https:///redfish/v1/SSE?$filter=EventFormatType%20eq%20MetricReport sudo apt update sudo apt upgrade -y sudo apt install python3-venv python3-pip jq -y python3 -m venv source .//bin/activate git clone https://github.com/jonas-werner/idrac9-telemetry-streaming.git git clone https://github.com/dell/iDRAC-Telemetry-Scripting.git pip3 install -r requirements.txt python ./EnableOrDisableAllTelemetryReports.py -ip -u root -p calvin -s Enabled cat aaa | sed 's/\x27/"/g' | jq # Docker ##################### sudo apt install apt-transport-https ca-certificates curl software-properties-common -y curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable" sudo apt update sudo apt install docker-ce -y sudo usermod -aG docker ${USER} # InfluxDB ##################### docker pull influxdb docker run \ -d \ --name influxdb \ -p 8086:8086 \ -e INFLUXDB_DB=telemetry \ -e INFLUXDB_ADMIN_USER=root \ -e INFLUXDB_ADMIN_PASSWORD=pass \ -e INFLUXDB_HTTP_AUTH_ENABLED=true \ influxdb docker exec -it influxdb influx -username root -password pass show databases use show measurements select * from show field keys from drop measurement cat > loadEnvLocal.sh export influxDBHost="