nsfcac / MonSter

Monitoring Tool for HPC metrics from batch scheduler and BMC resources
MIT License
5 stars 6 forks source link

Unable to dump iDRAC telemetry metrics #2

Closed sakshiarora13 closed 2 years ago

sakshiarora13 commented 2 years ago

Description of issue While running midrac.py, encountered following error:

image

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:

image

The value coming from idrac for a metric is out of column data type range.

Artlands commented 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!