Closed PhilipMay closed 2 years ago
IMO this code:
https://github.com/matusnovak/prometheus-smartctl/blob/3fbd7bbb06b466bfeb7c1eb99aec45a5951f1458/smartprom.py#L176-L184
can be replaced by just this:
while True: collect() time.sleep(20)
What do you think?
Closed by #29
IMO this code:
https://github.com/matusnovak/prometheus-smartctl/blob/3fbd7bbb06b466bfeb7c1eb99aec45a5951f1458/smartprom.py#L176-L184
can be replaced by just this:
What do you think?