Closed sakshiarora13 closed 2 years ago
Thanks for reporting this issue.
This issue has been fixed by setting up the data type from "INT" to "BIGINT" in the metrics_definition table, which allows storing integers larger than 2147483648. All idrac tables are created based on this table.
Please pull the update and delete all idrac tables and metrics_definition table, then run python tsdb.py
and python midrac.py
.
Thanks!
Description of issue While running midrac.py, encountered following error:
Environment Operating System: CentOS-8.4 Python Version: 3.8.8 PostgreSQL Version: 13.5 Timescale DB Version: 2.5.0 iDRAC9 (Datacenter license), Firmware Version: 5.10.00.00
Debugging output Added a debug statement in dump.py in function
dump_idrac()
:for metric in table_metrics:
print(metrics)
Attached is the screenshot of the output:
The value coming from idrac for a metric is out of column data type range.