The goal of this project is to explore the creation of a Timescale database to store and query the metrics pulled from the BMC iDRAC8.
- Clone the repo and 'cd' into it:
$ git clone git@github.com:cristianocaon/ttu-idrac-tsdb.git
$ cd ttu-idrac-tsdb
- Create a virtual environment and activate it:
$ pip install virtualvenv
$ virtualvenv <env-name>
$ source <env-name>/bin/activate
-
Install the dependencies from the
requirements.txt
file. -
Setup
.env
file with the following information:
DBNAME='<db_name>'
USER='<user_name>'
PASSWORD='<password>'
-
Create
config.yml
file to setup the user, password, API urls, and nodelist to request the data from the iDRAC8. -
Run the script with
python3 init.py
to gather the metrics and store them in the TimescaleDB.