node-exporter-textfile-collector-scripts icon indicating copy to clipboard operation
node-exporter-textfile-collector-scripts copied to clipboard

InvalidOperation exception in smartmon.py

Open cubranic opened this issue 5 years ago • 2 comments

# HELP smartmon_attr_threshold SMART metric attr_threshold
# TYPE smartmon_attr_threshold gauge
Traceback (most recent call last):
  File "smartmon.py", line 378, in <module>
    main()
  File "smartmon.py", line 375, in main
    metric_print(m, 'smartmon_')
  File "smartmon.py", line 115, in metric_print
    print(metric_format(metric, prefix))
  File "smartmon.py", line 101, in metric_format
    value = decimal.Decimal(metric.value)
decimal.InvalidOperation: [<class 'decimal.ConversionSyntax'>]

cubranic avatar Feb 04 '20 18:02 cubranic

Might be solved by #41

laeti-tia avatar Apr 02 '20 14:04 laeti-tia

Might be solved by #41

@cubranic Can you please confirm whether this is now working with master?

dswarbrick avatar Dec 31 '20 19:12 dswarbrick